1 /* PR c/28649 */ 2 /* { dg-do compile } */ 3 foo()4 void foo() 5 { 6 +; /* { dg-error "expected expression" } */ 7 } 8 9 int i; 10 bar()11 void bar() 12 { 13 i++; /* { dg-bogus "undeclared" } */ 14 } 15