Debian Codegraph @

gcc/testsuite/g++.dg/modules/lto-1_a.H

raw
1 // PR c++/118961
2 // { dg-additional-options "-fmodule-header" }
3 // { dg-module-cmi {} }
4 // Test explicit instantiations get emitted with LTO
5
6 #include "lto-1.h"
7 template struct S<char>;
8 template int x<char>;
9 template int* foo<char>();