Debian Codegraph @

gcc/testsuite/g++.dg/modules/tpl-tpl-parm-3_c.C

raw
1 // PR c++/98881
2 // { dg-additional-options "-fmodules-ts" }
3
4 import "tpl-tpl-parm-3_a.H";
5
6 template <typename T> struct A {};
7 template <typename T> struct B {};
8
9 void foo() {
10 X<A<int>> a;
11 X<B<int>> b;
12 a.f(b);
13
14 Y<A> y;
15 }