diff options
Diffstat (limited to 'test/std/containers/views/span.objectrep/as_writeable_bytes.pass.cpp')
| -rw-r--r-- | test/std/containers/views/span.objectrep/as_writeable_bytes.pass.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/std/containers/views/span.objectrep/as_writeable_bytes.pass.cpp b/test/std/containers/views/span.objectrep/as_writeable_bytes.pass.cpp index 24e3fb2734993..54216c2979f63 100644 --- a/test/std/containers/views/span.objectrep/as_writeable_bytes.pass.cpp +++ b/test/std/containers/views/span.objectrep/as_writeable_bytes.pass.cpp @@ -7,7 +7,7 @@ // Source Licenses. See LICENSE.TXT for details. // //===---------------------------------------------------------------------===// -// UNSUPPORTED: c++98, c++03, c++11, c++14, c++17 +// UNSUPPORTED: c++98, c++03, c++11, c++14, c++17 // <span> @@ -38,7 +38,7 @@ void testRuntimeSpan(Span sp) assert(spBytes.extent == std::dynamic_extent); else assert(spBytes.extent == static_cast<std::ptrdiff_t>(sizeof(typename Span::element_type)) * sp.extent); - + assert(static_cast<void*>(spBytes.data()) == static_cast<void*>(sp.data())); assert(spBytes.size() == sp.size_bytes()); } |
