diff options
author | Louis Dionne <ldionne.2@gmail.com> | 2021-01-27 13:08:24 -0500 |
---|---|---|
committer | Tom Stellard <tstellar@redhat.com> | 2021-02-23 18:52:48 -0800 |
commit | d56d2c8863b6ae3637b6261c32ea9479d8e1e2d6 (patch) | |
tree | fc297057390742f27fdf68bcef4efdb4a5fa5a07 /libcxx | |
parent | 06e5dec59e0b53c5a99fc8d2ff30960b24c4f1b6 (diff) | |
download | llvm-d56d2c8863b6ae3637b6261c32ea9479d8e1e2d6.zip llvm-d56d2c8863b6ae3637b6261c32ea9479d8e1e2d6.tar.gz llvm-d56d2c8863b6ae3637b6261c32ea9479d8e1e2d6.tar.bz2 |
[libc++] Fix extern template test failing on Windows
See https://reviews.llvm.org/D94718#2521489 for details.
(cherry picked from commit 90407b16b1d3e38f1360b6a24ceab801ab9cefc1)
Diffstat (limited to 'libcxx')
-rw-r--r-- | libcxx/test/libcxx/debug/extern-templates.sh.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libcxx/test/libcxx/debug/extern-templates.sh.cpp b/libcxx/test/libcxx/debug/extern-templates.sh.cpp index d5039d4..b2ed6a6 100644 --- a/libcxx/test/libcxx/debug/extern-templates.sh.cpp +++ b/libcxx/test/libcxx/debug/extern-templates.sh.cpp @@ -15,7 +15,7 @@ // UNSUPPORTED: libcpp-has-no-localization // RUN: %{cxx} %{flags} %{compile_flags} %s %{link_flags} -fPIC -DTU1 -D_LIBCPP_DEBUG=1 -fvisibility=hidden -shared -o %t.lib -// RUN: %{cxx} %{flags} %{compile_flags} %s %t.lib %{link_flags} -fPIC -DTU2 -D_LIBCPP_DEBUG=1 -fvisibility=hidden -o %t.exe +// RUN: cd %T && %{cxx} %{flags} %{compile_flags} %s %basename_t.tmp.lib %{link_flags} -fPIC -DTU2 -D_LIBCPP_DEBUG=1 -fvisibility=hidden -o %t.exe // RUN: %{exec} %t.exe #include <cassert> |