☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
g++.old-deja
/
g++.pt
/
explicit28.C
☽
☼
gcc/testsuite/g++.old-deja/g++.pt/explicit28.C
code
plain
raw
1
// { dg-do link }
2
// GROUPS passed templates
3
template <class T>
4
int foo(T t) { return 1; }
5
6
template <>
7
int foo(int i) { return 0; }
8
9
int main()
10
{
11
return (*((int (*)(int)) &foo<int>))(3);
12
}