rs6000, remove vector set and vector init built-ins.
[official-gcc.git] / gcc / testsuite / obj-c++.dg / syntax-error-2.mm
blobbf4d5ffb4a7a5b0fc2ae31c82079bd1dda3ac763
1 /* Recover gracefully from a syntax error.  */
2 // { dg-additional-options "-Wno-objc-root-class" }
4 @implementation Whatever  /* { dg-warning "cannot find interface declaration for .Whatever." } */
6 - (void) function
8         if( 1 )
9         {
10         else   /* { dg-error "expected .\}. before .else." } */
11         {
12         }
15 - (void) another {}
17 @end