Debian Codegraph @

gcc/testsuite/g++.dg/modules/inst-5_b.C

raw
1 // { dg-additional-options "-fmodules-ts -fno-module-lazy" }
2
3 template <int I> int fn ()
4 {
5 return I;
6 }
7
8 void f ()
9 {
10 fn<1> ();
11 }
12
13 import "inst-5_a.H";
14 // no longer need to instantate