[PowerPC] Collect some CallLowering arguments into a struct. [NFC]
[llvm-project.git] / libcxx / test / std / depr / depr.ios.members / streamoff.pass.cpp
blob8abced55ee4ca39db0d89abef75193bfc28a22f1
1 //===----------------------------------------------------------------------===//
2 //
3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4 // See https://llvm.org/LICENSE.txt for license information.
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6 //
7 //===----------------------------------------------------------------------===//
9 // <ios>
11 // class ios_base
12 // {
13 // public:
14 // typedef OFF_T streamoff;
15 // };
17 // These members were removed for C++17
19 #include "test_macros.h"
20 #include <ios>
21 #include <type_traits>
23 int main(int, char**)
25 #if TEST_STD_VER <= 14
26 static_assert((std::is_integral<std::ios_base::streamoff>::value), "");
27 static_assert((std::is_signed<std::ios_base::streamoff>::value), "");
28 #endif
30 return 0;