llvm-project/clang/test/SemaObjC/property-method-lookup-impl.m

25 lines
311 B
Objective-C

// RUN: %clang_cc1 -fsyntax-only -verify %s
@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