Debian Codegraph @

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

raw
1 // { dg-additional-options "-fmodules-ts" }
2 // { dg-module-cmi M }
3
4 export module M;
5 export template <typename> struct A {
6 friend struct S;
7 template <typename> friend struct T;
8 };
9
10 export template <typename> struct B {
11 friend void f();
12 template <typename> friend void g();
13 };