tree-sitter-objc/examples/SemaObjC/property-method-lookup-impl.m

26 lines
359 B
Mathematica
Raw Normal View History

2022-04-16 15:58:26 +00: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