[clang] Implement lifetime analysis for lifetime_capture_by(X) (#115921)
[llvm-project.git] / clang / test / Driver / windows-macho.c
blobbb1be72edeef6e851f05c67663553b40e51a7fa1
1 // RUN: %clang -target armv7-pc-win32-macho -msoft-float -### -c %s 2>&1 \
2 // RUN: | FileCheck %s --check-prefix CHECK-SOFTFLOAT
3 // CHECK-SOFTFLOAT-NOT: error: unsupported option '-msoft-float' for target 'thumbv7-pc-windows-macho'
5 // RUN: not %clang --target=armv7-pc-win32-macho -mhard-float -### -c %s 2>&1 \
6 // RUN: | FileCheck %s --check-prefix CHECK-HARDFLOAT
7 // CHECK-HARDFLOAT: error: unsupported option '-mhard-float' for target 'thumbv7-pc-windows-macho'
9 // RUN: %clang -target armv7-pc-win32-macho -### -c %s 2>&1 \
10 // RUN: | FileCheck %s --check-prefix CHECK-DEFAULT-SOFTFLOAT-ABI
11 // CHECK-DEFAULT-SOFTFLOAT-ABI: "-mfloat-abi" "soft"