Skip to content
Permalink
Browse files

[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
  • Loading branch information...
ldionne committed Jul 19, 2019
1 parent 1022c0d commit 9e6a42a1856468e1408c2e07717b71b9cfe1c86a
Showing with 1 addition and 1 deletion.
  1. +1 −1 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>

0 comments on commit 9e6a42a

Please sign in to comment.
You can’t perform that action at this time.