summaryrefslogtreecommitdiff
path: root/test/SemaObjC/class-property-access.m
blob: c46d3fb397cea4147923768ecfe4a44043a83e37 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
// RUN: %clang_cc1 -fsyntax-only -verify %s

@interface Test {}
+ (Test*)one;
- (int)two;
@end

int main ()
{
  return Test.one.two;
}