From 448eabd754852b6939ac5c54d8e71b6e3ff9b78a Mon Sep 17 00:00:00 2001 From: =?utf8?q?Martin=20Storsj=C3=B6?= Date: Wed, 4 May 2022 14:39:21 +0300 Subject: [PATCH] [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 --- .../test/libcxx/strings/basic.string/string.capacity/max_size.pass.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libcxx/test/libcxx/strings/basic.string/string.capacity/max_size.pass.cpp b/libcxx/test/libcxx/strings/basic.string/string.capacity/max_size.pass.cpp index 0468e78..bb9eddb 100644 --- a/libcxx/test/libcxx/strings/basic.string/string.capacity/max_size.pass.cpp +++ b/libcxx/test/libcxx/strings/basic.string/string.capacity/max_size.pass.cpp @@ -80,6 +80,8 @@ bool test() { # endif # elif defined(__powerpc__) || defined(__powerpc64__) half_size(); +# elif defined(_WIN32) + full_size(); # else # error "Your target system seems to be unsupported." # endif -- 2.7.4