2012-04-07 02:12:22 +08:00
|
|
|
// RUN: %clang_cc1 -fsyntax-only -verify -Wno-objc-root-class %s
|
2012-10-19 20:44:48 +08:00
|
|
|
// expected-no-diagnostics
|
2009-04-08 02:28:06 +08:00
|
|
|
|
|
|
|
@interface SSyncCEList
|
|
|
|
{
|
|
|
|
id _list;
|
|
|
|
}
|
|
|
|
@end
|
|
|
|
|
|
|
|
@implementation SSyncCEList
|
|
|
|
|
2009-07-22 08:43:08 +08:00
|
|
|
- (id) list { return 0; }
|
2009-04-08 02:28:06 +08:00
|
|
|
@end
|
|
|
|
|
|
|
|
@interface SSyncConflictList : SSyncCEList
|
|
|
|
@end
|
|
|
|
|
|
|
|
@implementation SSyncConflictList
|
|
|
|
|
|
|
|
- (id)Meth : (SSyncConflictList*)other
|
|
|
|
{
|
|
|
|
return other.list;
|
|
|
|
}
|
|
|
|
@end
|
|
|
|
|