blob: ebb443b81aff71c620dfae10d982a9e9654b9c01 [file] [log] [blame]
Fariborz Jahanian8604fae2009-12-14 17:13:18 +00001// RUN: clang -cc1 -triple i386-apple-darwin9 -emit-llvm %s -o - | FileCheck %s
Fariborz Jahanianb0069ee2009-11-12 20:14:24 +00002
3@class Some;
4
5@protocol Proto
6- (id)initSome:(Some *)anArg;
7@end
8
9
10@interface Table <Proto>
11@end
12
13@interface BetterTable: Table
14
15- (id)initSome:(Some *)arg;
16
17@end
18
19@implementation BetterTable
20
21- (id)initSome:(Some *)arg {
22
23 if(self=[super initSome:arg])
24 {
25 ;
26 }
27// CHECK: load %struct._objc_class** getelementptr inbounds (%struct._objc_class* @"\01L_OBJC_CLASS_BetterTable", i32 0, i32 1)
28
29 return self;
30}
31@end
32