brintos

brintos / llvm-project-archived public Read only

0
0
Text · 780 B · 8abced5 Raw
32 lines · cpp
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-exception6//7//===----------------------------------------------------------------------===//8 9// <ios>10//11// class ios_base12// {13// public:14//     typedef OFF_T streamoff;15// };16 17//  These members were removed for C++1718 19#include "test_macros.h"20#include <ios>21#include <type_traits>22 23int main(int, char**)24{25#if TEST_STD_VER <= 1426    static_assert((std::is_integral<std::ios_base::streamoff>::value), "");27    static_assert((std::is_signed<std::ios_base::streamoff>::value), "");28#endif29 30  return 0;31}32