Debian Codegraph @

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

raw
1 // { dg-do run }
2 extern "C" void abort(void);
3
4 template <int I>
5 void f(int i)
6 {
7 }
8
9 template <void*>
10 void f(int i)
11 {
12 abort();
13 }
14
15 int main()
16 {
17 f<0>(3);
18 }