Debian Codegraph @

gcc/testsuite/g++.dg/modules/tplmem-3_a.C

raw
1 // { dg-module-do run }
2 // { dg-additional-options "-fmodules-ts" }
3
4 export module billy.bob.thornton;
5 // { dg-module-cmi "billy.bob.thornton" }
6
7 export template<unsigned I> struct Outer
8 {
9 template<unsigned J> struct Inner
10 {
11 static unsigned m ()
12 {
13 return I * J;
14 }
15 };
16 };
17