Debian Codegraph @

gcc/testsuite/g++.old-deja/g++.pt/explicit40.C

raw
1 // { dg-do run }
2 extern "C" void abort();
3
4 template <void* P>
5 void f(int j);
6
7 template <unsigned int I>
8 void f(int j);
9
10
11 template <void* P>
12 void f(int j)
13 {
14 abort();
15 }
16
17
18 template <unsigned int I>
19 void f(int j)
20 {
21 }
22
23
24 int main()
25 {
26 f<3>(7);
27 }
28