Debian Codegraph @

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

raw
1 // { dg-additional-options "-fmodules-ts" }
2 // { dg-module-cmi M:C }
3
4 export module M:C;
5 import :A;
6
7 template <typename T> struct B;
8 export template <typename T, typename U> int bar(B<T> t, U u) {
9 return t.foo(u);
10 }