Debian Codegraph @

gcc/testsuite/g++.dg/template/crash61.C

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 }