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 31b7453164ea9..ee82c613153a2 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 5b84275bf6871..eb115ed2fb221 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}