| Eric Christopher | fde9786 | 2011-08-20 00:37:56 +0000 | [diff] [blame] | 1 | // RUN: %clang_cc1 -emit-llvm %s -o /dev/null |
| 2 | @protocol O | ||||
| 3 | @end | ||||
| 4 | @interface O < O > { | ||||
| 5 | } | ||||
| 6 | @end | ||||
| 7 | struct A { | ||||
| 8 | }; | ||||
| 9 | @protocol AB | ||||
| 10 | - (unsigned) ver; | ||||
| 11 | @end | ||||
| 12 | @interface AGy:O < AB > { | ||||
| 13 | } | ||||
| 14 | @end | ||||
| 15 | @implementation AGy | ||||
| 16 | - (unsigned) ver { | ||||
| 17 | } | ||||
| 18 | @end | ||||