| 1 | // RUN: %clang_cc1 -emit-llvm -triple x86_64-apple-darwin -fobjc-runtime=macosx-fragile-10.5 %s -o /dev/null |
|---|---|
| 2 | |
| 3 | @interface A |
| 4 | @end |
| 5 | @protocol P |
| 6 | @end |
| 7 | @interface B : A <P> |
| 8 | { |
| 9 | } |
| 10 | @end |
| 11 | @implementation B |
| 12 | - (void)test { |
| 13 | } |
| 14 | @end |
| 15 |
| 1 | // RUN: %clang_cc1 -emit-llvm -triple x86_64-apple-darwin -fobjc-runtime=macosx-fragile-10.5 %s -o /dev/null |
|---|---|
| 2 | |
| 3 | @interface A |
| 4 | @end |
| 5 | @protocol P |
| 6 | @end |
| 7 | @interface B : A <P> |
| 8 | { |
| 9 | } |
| 10 | @end |
| 11 | @implementation B |
| 12 | - (void)test { |
| 13 | } |
| 14 | @end |
| 15 |