Debian Codegraph @

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

raw
1 // { dg-additional-options -fmodules-ts }
2
3 module foo;
4
5 template class TPL<int>;
6 // (instantiated in interface) template class TPL<float>;
7
8 void m ()
9 {
10 // friend definitions instantiated on-demand here
11 foo (1, 0);
12 foo (1.0f, 0);
13 }
14