blob: b6c908624ef68d2c0931416be524402d7f83a243 [file] [log] [blame]
John McCall260611a2012-06-20 06:18:46 +00001// RUN: %clang_cc1 -triple i386-apple-darwin9 -fobjc-runtime=macosx-fragile-10.5 -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