1 // PR c++/29291
2 // { dg-do compile }
3 
foo()4 template<int> void foo()
5 {
6   new int(;  // { dg-error "before" }
7 }
8