Debian Codegraph @

gcc/testsuite/g++.dg/template/explicit-instantiation5.C

raw
1 // PR c++/108496
2
3 struct S { long a, b, c; } s;
4
5 template <int, typename>
6 S foo (S);
7
8 template <>
9 S
10 foo <0, long> (S)
11 {
12 return s;
13 }
14
15 template S foo <0, long> (S);