Debian Codegraph @

gcc/testsuite/g++.dg/modules/lto-1.h

raw
1 template <typename> struct S {
2 S() {}
3 };
4 template <typename> inline int x = 0;
5
6 extern template struct S<char>;
7 extern template int x<char>;
8
9 template <typename> int* foo() {
10 static int x;
11 return &x;
12 };
13 extern template int* foo<char>();