1// { dg-do run } 2// g++ 1.37.1 bug 900520_05 3 4// The following legal code gets syntax errors from g++. 5 6// keywords: syntax, unimplemented, operator new, initialization, pointer types 7 8struct struct_0 { 9}; 10 11char *cp; 12static struct_0 *sp; 13 14void test0 () 15{ 16 new char * (cp); // { dg-bogus "" } 17} 18 19void test1 () 20{ 21 new struct_0 * (sp); // { dg-bogus "" } 22} 23 24int main () { return 0; } 25