Patrick Beard | b2f6820 | 2012-04-06 18:12:22 +0000 | [diff] [blame] | 1 | // RUN: %clang_cc1 -fsyntax-only -verify -Wno-objc-root-class %s |
Fariborz Jahanian | ef79bc9 | 2009-04-07 18:28:06 +0000 | [diff] [blame] | 2 | |
| 3 | @interface SSyncCEList |
| 4 | { |
| 5 | id _list; |
| 6 | } |
| 7 | @end |
| 8 | |
| 9 | @implementation SSyncCEList |
| 10 | |
Mike Stump | d1969d8 | 2009-07-22 00:43:08 +0000 | [diff] [blame] | 11 | - (id) list { return 0; } |
Fariborz Jahanian | ef79bc9 | 2009-04-07 18:28:06 +0000 | [diff] [blame] | 12 | @end |
| 13 | |
| 14 | @interface SSyncConflictList : SSyncCEList |
| 15 | @end |
| 16 | |
| 17 | @implementation SSyncConflictList |
| 18 | |
| 19 | - (id)Meth : (SSyncConflictList*)other |
| 20 | { |
| 21 | return other.list; |
| 22 | } |
| 23 | @end |
| 24 | |