| /* APPLE LOCAL file 4695109 - modified for radar 6255913 */ |
| /* Check for generation of protocol meta-data */ |
| /* { dg-options "-Wno-objc-root-class -mmacosx-version-min=10.5 -fobjc-abi-version=2" { target powerpc*-*-darwin* i?86*-*-darwin* } } */ |
| /* { dg-do compile { target *-*-darwin* } } */ |
| |
| @protocol Proto1 |
| @end |
| |
| @protocol Proto2 |
| @end |
| |
| @interface Super <Proto1, Proto2> { id isa; } @end |
| @implementation Super @end |
| /* { dg-final { scan-assembler "l_OBJC_PROTOCOL_\\\$_Proto1:" } } */ |
| /* { dg-final { scan-assembler "l_OBJC_PROTOCOL_\\\$_Proto2:" } } */ |