blob: f951b0de8cc14abc67691568745fddec5011927e [file] [log] [blame]
/* Test Wobjc-root-class.
Note that we don't issue a warning unless the TU contains an implementation
for the class. */
/* { dg-additional-options "-fsyntax-only " } */
@interface ARootObject
@end
@implementation ARootObject /* { dg-warning {class 'ARootObject' defined without specifying a base class} } */
@end