summaryrefslogtreecommitdiff
path: root/clang/test/Parser/check-objc2-syntax-1.m
blob: 3cdf2b05cf85335c35223bb551a0353408401ac3 (about) (plain)
1
2
3
4
5
6
7
8
9
10
// RUN: %clang_cc1 -fsyntax-only -verify %s

@interface Subclass 
+ (int)magicNumber;
@end

int main (void) {
  return Subclass.magicNumber;
}