blob: 3e8697fc9376058cd2ab0d9fa0decd6df9735ec4 [file] [log] [blame]
Shih-wei Liaof8fd82b2010-02-10 11:10:31 -08001// RUN: %clang_cc1 -emit-llvm -o %t %s
2
3void f0(id a) {
4 // This should have an implicit cast
5 [ a print: "hello" ];
6}
7
8@interface A
9-(void) m: (int) arg0, ...;
10@end
11
12int f1(A *a) {
13 // This should also get an implicit cast (for the vararg)
14 [a m: 1, "test"];
15}