1 /* Test calling super from within a category method. */
3 /* { dg-do compile } */
9 @interface NSMenuItem: NSObject
12 @interface NSObject (Test)
16 @implementation NSObject (Test)
21 @interface NSMenuItem (Test)
25 @implementation NSMenuItem (Test)
28 return [super test_func]; /* { dg-bogus "invalid use of undefined type" } */
29 } /* { dg-bogus "forward declaration of" "" { target *-*-* } .-1 } */