minix/external/bsd/llvm/dist/clang/test/SemaObjC/property-method-lookup-impl.m

26 lines
359 B
Mathematica
Raw Normal View History

// RUN: %clang_cc1 -fsyntax-only -verify -Wno-objc-root-class %s
// expected-no-diagnostics
@interface SSyncCEList
{
id _list;
}
@end
@implementation SSyncCEList
- (id) list { return 0; }
@end
@interface SSyncConflictList : SSyncCEList
@end
@implementation SSyncConflictList
- (id)Meth : (SSyncConflictList*)other
{
return other.list;
}
@end