// PR c++/29733

template<typename T> void foo()
{
  T t = 0; // { dg-error "function type" }
}

void bar()
{
  foo<int()>();
}


syntax highlighted by Code2HTML, v. 0.9.1