Skip to content

Commit d56d2c8

Browse files
ldionnetstellar
authored andcommitted
[libc++] Fix extern template test failing on Windows
See https://reviews.llvm.org/D94718#2521489 for details. (cherry picked from commit 90407b1)
1 parent 06e5dec commit d56d2c8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libcxx/test/libcxx/debug/extern-templates.sh.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
// UNSUPPORTED: libcpp-has-no-localization
1616

1717
// RUN: %{cxx} %{flags} %{compile_flags} %s %{link_flags} -fPIC -DTU1 -D_LIBCPP_DEBUG=1 -fvisibility=hidden -shared -o %t.lib
18-
// RUN: %{cxx} %{flags} %{compile_flags} %s %t.lib %{link_flags} -fPIC -DTU2 -D_LIBCPP_DEBUG=1 -fvisibility=hidden -o %t.exe
18+
// 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
1919
// RUN: %{exec} %t.exe
2020

2121
#include <cassert>

0 commit comments

Comments
 (0)