[RISCV][FMV] Support target_clones (#85786)
[llvm-project.git] / clang / test / Driver / symbol-partition.c
blob09d02cd32b874cec9a97ba22dd75682506ff9e7b
1 // RUN: %clang -### -target x86_64-unknown-linux -c -fsymbol-partition=foo %s 2>&1 | FileCheck %s
2 // RUN: not %clang -### --target=x86_64-pc-win32 -c -fsymbol-partition=foo %s 2>&1 | FileCheck --check-prefix=ERROR %s
4 // CHECK: "-fsymbol-partition=foo"
5 // ERROR: error: unsupported option '-fsymbol-partition=foo' for target 'x86_64-pc-windows-msvc'