Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / clang / test / Driver / haiku.cpp
blob982227ff65fef114938f88bc42b2164e7102c6ff
1 // Check the C++ header path (libstdc++)
2 // RUN: %clangxx --target=x86_64-unknown-haiku --stdlib=libstdc++ -### %s 2>&1 \
3 // RUN: --sysroot=%S/Inputs/haiku_x86_64_tree \
4 // RUN: | FileCheck --check-prefix=CHECK-LIBSTDCXX-HEADER-PATH %s
5 // CHECK-LIBSTDCXX-HEADER-PATH: "-internal-isystem" "[[SYSROOT:[^"]+]]/boot/system/develop/tools/lib/gcc/x86_64-unknown-haiku/13.2.0/../../../gcc/x86_64-unknown-haiku/13.2.0/include/c++/"
6 // CHECK-LIBSTDCXX-HEADER-PATH-SAME: "-internal-isystem" "[[SYSROOT:[^"]+]]/boot/system/develop/tools/lib/gcc/x86_64-unknown-haiku/13.2.0/../../../gcc/x86_64-unknown-haiku/13.2.0/include/c++//backward"
8 // Check the C++ header path (when using libc++)
9 // RUN: %clangxx --target=x86_64-unknown-haiku --stdlib=libc++ -### %s 2>&1 \
10 // RUN: --sysroot=%S/Inputs/haiku_x86_64_tree \
11 // RUN: | FileCheck --check-prefix=CHECK-LIBCXX-HEADER-PATH %s
12 // CHECK-LIBCXX-HEADER-PATH: "-internal-isystem" "[[SYSROOT:[^"]+]]/boot/system/develop/headers/c++/v1"