[RISCV][FMV] Support target_clones (#85786)
[llvm-project.git] / clang / test / Driver / gcc-triple.cpp
blob17f045dae747409d0e269c43db1a542968148fe7
1 // UNSUPPORTED: system-windows
3 // RUN: %clang --target=x86_64-redhat-linux-gnu \
4 // RUN: --sysroot=%S/Inputs/fedora_39_tree --gcc-triple=x86_64-redhat-linux -v 2>&1 | \
5 // RUN: FileCheck %s --check-prefix=TRIPLE_EXISTS
7 // TRIPLE_EXISTS: {{^}}Selected GCC installation:
8 // TRIPLE_EXISTS: fedora_39_tree/usr/lib/gcc/x86_64-redhat-linux/13{{$}}
10 // RUN: %clang --target=x86_64-redhat-linux-gnu \
11 // RUN: --sysroot=%S/Inputs/fedora_39_tree --gcc-triple=x86_64-gentoo-linux -v 2>&1 | \
12 // RUN: FileCheck %s --check-prefix=TRIPLE_DOESNT_EXIST
14 // TRIPLE_DOESNT_EXIST-NOT: x86_64-gentoo-linux