Debian Codegraph @

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

raw
1 // { dg-do link }
2 // { dg-options "-ansi -pedantic-errors -w" }
3 // GROUPS passed templates
4 template <class T>
5 int foo(T t) { return 0; }
6
7 int foo(int i);
8
9 int main()
10 {
11 return foo<int>(3.0);
12 }