Debian Codegraph @

clang/test/CodeGenObjCXX/unknown-anytype.mm

raw
1 // RUN: %clang_cc1 -triple x86_64-apple-darwin10 -fdebugger-support -funknown-anytype -emit-llvm -o - %s | FileCheck %s
2
3 @interface A @end
4 void 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 B
11 - (void) test1: (__unknown_anytype) x;
12 @end
13 void test1(B *b) {
14 (void) [b test1: (float) 2.0];
15 }
16 // CHECK-LABEL: define{{.*}} void @_Z5test1P1B(
17 // CHECK: call void @objc_msgSend(
18