llvm-for-llvmta/tools/clang/test/SemaObjC/property-method-lookup-impl.m

26 lines
359 B
Mathematica
Raw Normal View History

2022-04-25 13:02:35 +02:00
// 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