From 566b52da8b35d66ca2965cc111c104ef429b90b4 Mon Sep 17 00:00:00 2001 From: Louis Dionne Date: Fri, 1 May 2020 13:11:55 -0400 Subject: [PATCH] [libc++] Disable test that we use -Werror in C++03 --- libcxx/test/libcxx/selftest/newformat/pass.cpp/werror.pass.cpp | 3 +++ libcxx/test/libcxx/selftest/newformat/sh.cpp/werror.sh.cpp | 3 +++ 2 files changed, 6 insertions(+) diff --git a/libcxx/test/libcxx/selftest/newformat/pass.cpp/werror.pass.cpp b/libcxx/test/libcxx/selftest/newformat/pass.cpp/werror.pass.cpp index 31b7453..ee82c61 100644 --- a/libcxx/test/libcxx/selftest/newformat/pass.cpp/werror.pass.cpp +++ b/libcxx/test/libcxx/selftest/newformat/pass.cpp/werror.pass.cpp @@ -17,6 +17,9 @@ // TODO: We don't enable -Werror on GCC right now, because too many tests fail. // UNSUPPORTED: gcc +// TODO(ldionne): We don't enable -Werror in C++03 right now +// UNSUPPORTED: c++98, c++03 + int main() { int foo; } diff --git a/libcxx/test/libcxx/selftest/newformat/sh.cpp/werror.sh.cpp b/libcxx/test/libcxx/selftest/newformat/sh.cpp/werror.sh.cpp index 5b84275..eb115ed 100644 --- a/libcxx/test/libcxx/selftest/newformat/sh.cpp/werror.sh.cpp +++ b/libcxx/test/libcxx/selftest/newformat/sh.cpp/werror.sh.cpp @@ -14,6 +14,9 @@ // TODO: We don't enable -Werror on GCC right now, because too many tests fail. // UNSUPPORTED: gcc +// TODO(ldionne): We don't enable -Werror in C++03 right now +// UNSUPPORTED: c++98, c++03 + // FILE_DEPENDENCIES: %t.exe // RUN: %{build} -Wunused-variable // RUN: %{run} -- 2.7.4