StmtPrinter: factor out arg printing code to PrintCallArgs
[clang.git] / test / CodeGenObjC / super-message-fragileabi.m
blob5efc234dcafd7a786b814bace4c64d09b5ddab47
1 // RUN: %clang_cc1 -triple i386-apple-darwin9 -emit-llvm %s -o - | FileCheck %s
3 @class  Some;
5 @protocol Proto
6 - (id)initSome:(Some *)anArg;
7 @end
10 @interface Table <Proto>
11 @end
13 @interface BetterTable: Table
15 - (id)initSome:(Some *)arg;
17 @end
19 @implementation BetterTable
21 - (id)initSome:(Some *)arg {
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)
29  return self;
31 @end