Debian Codegraph @

gcc/testsuite/g++.dg/modules/tpl-friend-9.C

raw
1 // PR c++/114275
2 // { dg-additional-options "-fmodules-ts" }
3 // { dg-module-cmi M }
4
5 export module M;
6
7 template<class> struct A {
8 template<class> friend struct B;
9 friend void C();
10 };
11 A<int> a;
12 void C() {}
13 template<class> struct B { };