1 /* Test calling super from within a category class method. */
2 /* Author: Ziemowit Laski <zlaski@apple.com> */
3 /* { dg-do compile } */
5 typedef struct objc_object { struct objc_class *isa; } *id;
10 @interface NSMenuItem: NSObject
14 @implementation NSObject
19 @implementation NSMenuItem
22 return [super test_func0];
26 @interface NSObject (Test)
30 @implementation NSObject (Test)
35 @interface NSMenuItem (Test)
39 @implementation NSMenuItem (Test)
42 return [super test_func]; /* { dg-bogus "dereferencing pointer to incomplete type" } */