15 lines · cpp
1// UNSUPPORTED: system-windows2 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_EXISTS6 7// TRIPLE_EXISTS: {{^}}Selected GCC installation:8// TRIPLE_EXISTS: fedora_39_tree/usr/lib/gcc/x86_64-redhat-linux/13{{$}}9 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_EXIST13 14// TRIPLE_DOESNT_EXIST-NOT: x86_64-gentoo-linux15