summaryrefslogtreecommitdiffstats
path: root/libcxx/test/std/depr/depr.ios.members/streamoff.pass.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libcxx/test/std/depr/depr.ios.members/streamoff.pass.cpp')
-rw-r--r--libcxx/test/std/depr/depr.ios.members/streamoff.pass.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/libcxx/test/std/depr/depr.ios.members/streamoff.pass.cpp b/libcxx/test/std/depr/depr.ios.members/streamoff.pass.cpp
index 4ccfd1f7d22..0c237b3547d 100644
--- a/libcxx/test/std/depr/depr.ios.members/streamoff.pass.cpp
+++ b/libcxx/test/std/depr/depr.ios.members/streamoff.pass.cpp
@@ -15,11 +15,16 @@
// typedef OFF_T streamoff;
// };
+// These members were removed for C++17
+
+#include "test_macros.h"
#include <ios>
#include <type_traits>
int main()
{
+#if TEST_STD_VER <= 14
static_assert((std::is_integral<std::ios_base::streamoff>::value), "");
static_assert((std::is_signed<std::ios_base::streamoff>::value), "");
+#endif
}
OpenPOWER on IntegriCloud