llvm-project/clang/test/Parser/check-objc2-syntax-1.m

12 lines
171 B
Objective-C

// RUN: %clang_cc1 -fsyntax-only -verify %s
// expected-no-diagnostics
@interface Subclass
+ (int)magicNumber;
@end
int main (void) {
return Subclass.magicNumber;
}