Skip to content

Commit 448eabd

Browse files
committed
[libcxx] [test] Fix max_size.pass.cpp for other Windows architectures
All current Windows architectures (i386, x86_64, arm, arm64) get the full_size() behaviour here. x86_64 (the only one tested in CI currently) is handled by the first ifdef at the top, but handle Windows in general on all other architectures later. Differential Revision: https://reviews.llvm.org/D124989
1 parent 5140e0d commit 448eabd

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

libcxx/test/libcxx/strings/basic.string/string.capacity/max_size.pass.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,8 @@ bool test() {
8080
# endif
8181
# elif defined(__powerpc__) || defined(__powerpc64__)
8282
half_size();
83+
# elif defined(_WIN32)
84+
full_size();
8385
# else
8486
# error "Your target system seems to be unsupported."
8587
# endif

0 commit comments

Comments
 (0)