Debian Codegraph @

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

raw
1 // { dg-additional-options "-fmodules -Wno-global-module" }
2 // { dg-module-cmi M }
3
4 module;
5 template <typename>
6 struct S {
7 S() {}
8 };
9 export module M;
10 extern template class S<int>;
11 S<int> s;