Debian Codegraph @

gcc/testsuite/g++.dg/modules/indirect-4_a.C

raw
1 // { dg-module-do run }
2 // { dg-additional-options "-fmodules-ts" }
3
4 // indirect references to import, template member of template case
5
6 export module foo;
7 // { dg-module-cmi foo }
8
9 namespace foo
10 {
11 export template<int I> class TPL
12 {
13 public:
14 template <int J> int frob () const
15 {
16 return I + J;
17 }
18 };
19 }
20