llvm-project/clang/test/SemaObjC/class-property-access.m

14 lines
163 B
Objective-C

// RUN: %clang_cc1 -fsyntax-only -verify %s
// expected-no-diagnostics
@interface Test {}
+ (Test*)one;
- (int)two;
@end
int main ()
{
return Test.one.two;
}