Skip to content

Commit 8d1610a

Browse files
committed
[libc++] Mark two assertion tests as unsupported in C++03 mode
Our assertion checking facility requires at least C++11, so these tests were failing when run in C++03 mode.
1 parent 49bf8d3 commit 8d1610a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

libcxx/test/std/input.output/stream.buffers/streambuf/streambuf.protected/streambuf.get.area/setg.assert.pass.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
//===----------------------------------------------------------------------===//
88

99
// REQUIRES: has-unix-headers
10-
// UNSUPPORTED: libcpp-hardening-mode=none
10+
// UNSUPPORTED: c++03, libcpp-hardening-mode=none
1111
// XFAIL: libcpp-hardening-mode=debug && availability-verbose_abort-missing
1212

1313
// <streambuf>

libcxx/test/std/input.output/stream.buffers/streambuf/streambuf.protected/streambuf.put.area/setp.assert.pass.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
//===----------------------------------------------------------------------===//
88

99
// REQUIRES: has-unix-headers
10-
// UNSUPPORTED: libcpp-hardening-mode=none
10+
// UNSUPPORTED: c++03, libcpp-hardening-mode=none
1111
// XFAIL: libcpp-hardening-mode=debug && availability-verbose_abort-missing
1212

1313
// <streambuf>

0 commit comments

Comments
 (0)