1// RUN: %clang_cc1 -triple x86_64-apple-darwin10 -fdebugger-support -funknown-anytype -emit-llvm -o - %s | FileCheck %s
2
3// rdar://13025708
4
5@interface A @end
6void test0(A *a) {
7  (void) [a test0: (float) 2.0];
8}
9// CHECK-LABEL: define{{.*}} void @_Z5test0P1A(
10// CHECK: call void bitcast (i8* (i8*, i8*, ...)* @objc_msgSend to void (i8*, i8*, float)*)(
11
12@interface B
13- (void) test1: (__unknown_anytype) x;
14@end
15void test1(B *b) {
16  (void) [b test1: (float) 2.0];
17}
18// CHECK-LABEL: define{{.*}} void @_Z5test1P1B(
19// CHECK: call void bitcast (i8* (i8*, i8*, ...)* @objc_msgSend to void (i8*, i8*, float)*)(
20
21