19 lines · plain
1// RUN: %clang_cc1 -triple x86_64-apple-darwin10 -fdebugger-support -funknown-anytype -emit-llvm -o - %s | FileCheck %s2 3@interface A @end4void test0(A *a) {5 (void) [a test0: (float) 2.0];6}7// CHECK-LABEL: define{{.*}} void @_Z5test0P1A(8// CHECK: call void @objc_msgSend(9 10@interface B11- (void) test1: (__unknown_anytype) x;12@end13void test1(B *b) {14 (void) [b test1: (float) 2.0];15}16// CHECK-LABEL: define{{.*}} void @_Z5test1P1B(17// CHECK: call void @objc_msgSend(18 19