StmtPrinter: factor out arg printing code to PrintCallArgs
[clang.git] / test / CodeGenObjC / sel-as-builtin-type.m
blob72a8564e0888874e150d159fed8a767589ca27e1
1 // RUN: %clang_cc1 -emit-llvm -o %t %s
2 // pr5025
3 // radar 7405040
5 typedef const struct objc_selector {
6   void *sel_id;
7   const char *sel_types;
8 } *SEL;
10 @interface I2
11 +(id) dictionary;
12 @end
14 @implementation I3; // expected-warning {{cannot find interface declaration for 'I3'}}
15 +(void) initialize {
16   I2 *a0 = [I2 dictionary];
18 @end
20 int func(SEL s1, SEL s2)
22         return s1->sel_id == s2->sel_id;