Skip to content

Commit 33f19a6

Browse files
authored
[Haiku] Don't assume clang was build with libstdc++ as default (#65871)
This test fails with `CLANG_DEFAULT_CXX_STDLIB=libc++`
1 parent 715257e commit 33f19a6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clang/test/Driver/haiku.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// Check the C++ header path (libstdc++)
2-
// RUN: %clangxx --target=x86_64-unknown-haiku -### %s 2>&1 \
2+
// RUN: %clangxx --target=x86_64-unknown-haiku --stdlib=libstdc++ -### %s 2>&1 \
33
// RUN: --sysroot=%S/Inputs/haiku_x86_64_tree \
44
// RUN: | FileCheck --check-prefix=CHECK-LIBSTDCXX-HEADER-PATH %s
55
// CHECK-LIBSTDCXX-HEADER-PATH: "-internal-isystem" "[[SYSROOT:[^"]+]]/boot/system/develop/headers/c++"

0 commit comments

Comments
 (0)