☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
g++.old-deja
/
g++.pt
/
explicit19.C
☽
☼
gcc/testsuite/g++.old-deja/g++.pt/explicit19.C
code
plain
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);
6
7
template <>
8
int foo<int>(int i) { return 0; }
9
10
int main()
11
{
12
return foo<int>(3.0);
13
}