// PR c++/29291
// { dg-do compile }

template<int> void foo()
{
  new int(;  // { dg-error "before" }
}


syntax highlighted by Code2HTML, v. 0.9.1