Fariborz Jahanian | a03e40c | 2012-03-20 19:54:33 +0000 | [diff] [blame] | 1 | // RUN: %clang_cc1 -x objective-c++ -fblocks -fms-extensions -rewrite-objc %s -o %t-rw.cpp |
| 2 | // RUN: %clang_cc1 -fsyntax-only -fblocks -Wno-address-of-temporary -D"Class=void*" -D"id=void*" -D"SEL=void*" -D"__declspec(X)=" %t-rw.cpp |
| 3 | // rdar:// 11076938 |
| 4 | |
| 5 | @interface Root @end |
| 6 | |
| 7 | @interface Super : Root |
| 8 | @end |
| 9 | |
| 10 | @interface Sub : Super |
| 11 | @end |
| 12 | |
| 13 | @implementation Sub @end |
| 14 | |
| 15 | @implementation Root @end |
Fariborz Jahanian | 4b2fe6e | 2012-03-20 21:41:28 +0000 | [diff] [blame] | 16 | |
| 17 | @interface Root(Cat) @end |
| 18 | |
| 19 | @interface Sub(Cat) @end |
| 20 | |
| 21 | @implementation Root(Cat) @end |
| 22 | |
| 23 | @implementation Sub(Cat) @end |