summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLouis Dionne <ldionne.2@gmail.com>2021-01-27 13:08:24 -0500
committerTom Stellard <tstellar@redhat.com>2021-02-23 18:52:48 -0800
commitd56d2c8863b6ae3637b6261c32ea9479d8e1e2d6 (patch)
treefc297057390742f27fdf68bcef4efdb4a5fa5a07
parent06e5dec59e0b53c5a99fc8d2ff30960b24c4f1b6 (diff)
downloadllvm-d56d2c8863b6ae3637b6261c32ea9479d8e1e2d6.tar.gz
[libc++] Fix extern template test failing on Windows
See https://reviews.llvm.org/D94718#2521489 for details. (cherry picked from commit 90407b16b1d3e38f1360b6a24ceab801ab9cefc1)
-rw-r--r--libcxx/test/libcxx/debug/extern-templates.sh.cpp2
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 d5039d4f3029..b2ed6a63d630 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>