// { dg-additional-options "-fmodules" } template struct S { S() {} }; void foo() { S x;} import M; // Lazy loading of extern S at EOF should not ICE