minix/external/bsd/llvm/dist/clang/test/SemaObjC/class-property-access.m

14 lines
163 B
Mathematica
Raw Normal View History

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