2 // DEFINE: %{ver} = 1.6
3 // DEFINE: %{prefix} = CHECK-MSGSEND
4 // DEFINE: %{check} = %clang --target=%{triple} -fobjc-runtime=gnustep-%{ver} -### -c %s 2>&1 | FileCheck -check-prefix=%{prefix} %s
6 // REDEFINE: %{ver} = 1.6
7 // REDEFINE: %{triple} = i386-unknown-freebsd
9 // REDEFINE: %{triple} = x86_64-unknown-freebsd
11 // REDEFINE: %{triple} = arm-unknown-freebsd
13 // REDEFINE: %{prefix} = CHECK-MSGLOOKUP
14 // REDEFINE: %{triple} = aarch64-unknown-freebsd
16 // REDEFINE: %{triple} = mips64-unknown-freebsd
18 // REDEFINE: %{triple} = riscv64-unknown-freebsd
21 // REDEFINE: %{ver} = 1.9
22 // REDEFINE: %{prefix} = CHECK-MSGSEND
23 // REDEFINE: %{triple} = aarch64-unknown-freebsd
25 // REDEFINE: %{triple} = mips64-unknown-freebsd
27 // REDEFINE: %{prefix} = CHECK-MSGLOOKUP
28 // REDEFINE: %{triple} = riscv64-unknown-freebsd
31 // REDEFINE: %{ver} = 2.2
32 // REDEFINE: %{prefix} = CHECK-MSGSEND
33 // REDEFINE: %{triple} = riscv64-unknown-freebsd
37 // CHECK-MSGSEND: "-cc1"{{.*}} "-fobjc-dispatch-method=non-legacy"
38 // CHECK-MSGLOOKUP-NOT: "-cc1"{{.*}} "-fobjc-dispatch-method=non-legacy"