Issue | 83072 |
---|---|
Summary | Clang rejects valid friend access |
Labels | clang |
Assignees | |
Reporter | Boris-Rasin |
Rejected by Clang 17.0.1, works with gcc and msvc. ```cpp struct A { template <typename T> using type = typename T::type; };
class B { friend class A; using type = int; }; A::type<B> a; ``` https://godbolt.org/z/r1E55hn43
_______________________________________________ llvm-bugs mailing list llvm-bugs@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs