☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
g++.dg
/
template
/
crash61.C
☽
☼
gcc/testsuite/g++.dg/template/crash61.C
code
plain
raw
1
// PR c++/29733
2
3
template<typename T> void foo()
4
{
5
T t = 0; // { dg-error "function type" }
6
}
7
8
void bar()
9
{
10
foo<int()>();
11
}