Debian Codegraph @

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

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