☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
g++.dg
/
modules
/
tpl-friend-12_c.C
☽
☼
gcc/testsuite/g++.dg/modules/tpl-friend-12_c.C
code
plain
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
}