16 lines · plain
1// RUN: %clang_cc1 -emit-llvm -o %t %s2 3void f0(id a) {4 // This should have an implicit cast5 [ a print: "hello" ];6}7 8@interface A9-(void) m: (int) arg0, ...;10@end11 12void f1(A *a) {13 // This should also get an implicit cast (for the vararg)14 [a m: 1, "test"];15}16