PR rtl-optimization/87918
[official-gcc.git] / gcc / testsuite / obj-c++.dg / syntax-error-3.mm
blob34f914bad28e97261b739c31469548f31d67596a
1 /* Yet another stray infinite loop... */
2 /* { dg-do compile } */
4 @interface Foo
6   int x;
7   int y;
9 - (int) foo ; { /* { dg-error "stray .\{. between Objective\\-C\\+\\+ methods" } */
10 @end