| 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 | //===----------------------------------------------------------------------===// |
| 8 | |
| 9 | // <ios> |
| 10 | // |
| 11 | // class ios_base |
| 12 | // { |
| 13 | // public: |
| 14 | // typedef POS_T streampos; |
| 15 | // }; |
| 16 | |
| 17 | // These members were removed for C++17 |
| 18 | |
| 19 | #include "test_macros.h" |
| 20 | #include <ios> |
| 21 | #include <type_traits> |
| 22 | |
| 23 | int main(int, char**) |
| 24 | { |
| 25 | #if TEST_STD_VER <= 14 |
| 26 | static_assert((std::is_same<std::ios_base::streampos, std::streampos>::value), "" ); |
| 27 | #endif |
| 28 | |
| 29 | return 0; |
| 30 | } |
| 31 | |