Debian Codegraph @

gcc/testsuite/g++.dg/modules/typename-friend_a.C

raw
1 // { dg-additional-options "-fmodules-ts" }
2 export module foo;
3 // { dg-module-cmi foo }
4
5 template<class T>
6 struct A {
7 friend typename T::type;
8 friend void f(A) { }
9 private:
10 static constexpr int value = 42;
11 };