diff options
author | Louis Dionne <ldionne@apple.com> | 2019-07-19 14:01:48 +0000 |
---|---|---|
committer | Louis Dionne <ldionne@apple.com> | 2019-07-19 14:01:48 +0000 |
commit | 9e6a42a1856468e1408c2e07717b71b9cfe1c86a (patch) | |
tree | ee955fa68e28e568ed4d6cc59dba209894355008 | |
parent | 1022c0dfde51a32c31cb912ccf8256e60debebfd (diff) | |
download | bcm5719-llvm-9e6a42a1856468e1408c2e07717b71b9cfe1c86a.tar.gz bcm5719-llvm-9e6a42a1856468e1408c2e07717b71b9cfe1c86a.zip |
[libc++] Add missing %link_flags to .sh.cpp test
Without the link flags, the test always fails on Linux. For some reason,
however, it works on Darwin -- which is why it wasn't caught at first.
llvm-svn: 366579
-rw-r--r-- | libcxx/test/libcxx/strings/basic.string/PR42676.sh.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libcxx/test/libcxx/strings/basic.string/PR42676.sh.cpp b/libcxx/test/libcxx/strings/basic.string/PR42676.sh.cpp index b61b196294d..5aa2402c92c 100644 --- a/libcxx/test/libcxx/strings/basic.string/PR42676.sh.cpp +++ b/libcxx/test/libcxx/strings/basic.string/PR42676.sh.cpp @@ -8,7 +8,7 @@ // Regression test for PR42676. -// RUN: %cxx %flags %s -o %t.exe %compile_flags -D_LIBCPP_HIDE_FROM_ABI_PER_TU +// RUN: %cxx %flags %s -o %t.exe %compile_flags %link_flags -D_LIBCPP_HIDE_FROM_ABI_PER_TU // RUN: %t.exe #include <memory> |