StmtPrinter: factor out arg printing code to PrintCallArgs
[clang.git] / test / CodeGenObjC / missing-atend-metadata.m
blob50e597c8d1a8bffe059d542f1fa1f0f54e279b19
1 // RUN: %clang_cc1 -triple i386-apple-darwin9 -emit-llvm %s -o - | FileCheck %s
3 @interface I0 
4 @end
6 @implementation I0 // expected-warning {{'@end' is missing in implementation context}}
7 - meth { return 0; }
9 @interface I1 : I0 
10 @end
12 @implementation I1 // expected-warning {{'@end' is missing in implementation context}}
13 -(void) im0 { self = [super init]; }
15 @interface I2 : I0
16 - I2meth;
17 @end
19 @implementation I2 // expected-warning {{'@end' is missing in implementation context}}
20 - I2meth { return 0; }
22 @implementation  I2(CAT) // expected-warning {{'@end' is missing in implementation context}}
24 // CHECK: @"\01L_OBJC_CLASS_I1" = internal global