Skip to content

Commit 566b52d

Browse files
committed
[libc++] Disable test that we use -Werror in C++03
1 parent 3e4f343 commit 566b52d

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

libcxx/test/libcxx/selftest/newformat/pass.cpp/werror.pass.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,9 @@
1717
// TODO: We don't enable -Werror on GCC right now, because too many tests fail.
1818
// UNSUPPORTED: gcc
1919

20+
// TODO(ldionne): We don't enable -Werror in C++03 right now
21+
// UNSUPPORTED: c++98, c++03
22+
2023
int main() {
2124
int foo;
2225
}

libcxx/test/libcxx/selftest/newformat/sh.cpp/werror.sh.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,9 @@
1414
// TODO: We don't enable -Werror on GCC right now, because too many tests fail.
1515
// UNSUPPORTED: gcc
1616

17+
// TODO(ldionne): We don't enable -Werror in C++03 right now
18+
// UNSUPPORTED: c++98, c++03
19+
1720
// FILE_DEPENDENCIES: %t.exe
1821
// RUN: %{build} -Wunused-variable
1922
// RUN: %{run}

0 commit comments

Comments
 (0)