[RISCV][FMV] Support target_clones (#85786)
[llvm-project.git] / clang / test / Driver / windows-thumbv7em.cpp
blobdb25c8df4812c49f8fb420541fdb0da28257a8da
1 // RUN: %clang -target thumb-none-windows-eabi-coff -mcpu=cortex-m7 -### -c %s 2>&1 \
2 // RUN: | FileCheck %s --check-prefix CHECK-V7
3 // CHECK-V7-NOT: error: the target architecture 'thumbv7em' is not supported by the target 'thumbv7em-none-windows-eabihf'
5 // RUN: not %clang --target=thumb-none-windows-eabi-coff -mcpu=cortex-m1 -### -c %s 2>&1 \
6 // RUN: | FileCheck %s --check-prefix CHECK-V6
7 // CHECK-V6: error: the target architecture 'thumbv6m' is not supported by the target 'thumbv6m-none-windows-eabihf'