blob: b0b0e8a35e36973de27eadf6553c4e81cf119379 [file] [log] [blame]
// RUN: clang -fsyntax-only -verify %s
@interface Subclass
+ (int)magicNumber;
@end
int main (void) {
return Subclass.magicNumber; // expected-error {{unexpected interface name 'Subclass': expected expression}}
}