Debian Codegraph @

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

raw
1 // { dg-additional-options -fmodules-ts }
2
3 export module foo;
4 // { dg-module-cmi foo }
5
6 template <typename T> class TPL
7 {
8 template <typename U> friend void foo (U);
9 };
10
11 template class TPL<char>;
12
13 template <typename V> void foo (V x)
14 {
15 }