Doc: Add Standard-Names ustrunc and sstrunc for integer modes
[official-gcc.git] / gcc / testsuite / obj-c++.dg / syntax-error-7.mm
blobc406d8fe769fdc134db78cc98360b8471642c0b0
1 /* { dg-do compile } */
2 // { dg-additional-options "-Wno-objc-root-class" }
4 @interface Foo
5 -(void) someMethod;
6 @end
8 @implementation Foo
9 -(void)
10 -(void) someMethod /* { dg-error "expected before .-." } */
13 @end /* { dg-warning "incomplete implementation of class" } */
14 /* { dg-warning "method definition for ..someMethod. not found" "" { target *-*-* } .-1 } */