1 // PR c++/29733
2 
foo()3 template<typename T> void foo()
4 {
5   T t = 0; // { dg-error "function type" }
6 }
7 
bar()8 void bar()
9 {
10   foo<int()>();
11 }
12