Debian Codegraph @

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

raw
1 // { dg-additional-options "-fmodules" }
2
3 template <typename>
4 struct S {
5 S() {}
6 };
7
8 void foo() { S<double> x;}
9
10 import M;
11
12 // Lazy loading of extern S<int> at EOF should not ICE