minix/external/bsd/libc++/dist/libcxx/test/input.output/iostreams.base/stream.types/streamsize.pass.cpp

22 lines
578 B
C++
Raw Normal View History

//===----------------------------------------------------------------------===//
//
// The LLVM Compiler Infrastructure
//
// This file is dual licensed under the MIT and the University of Illinois Open
// Source Licenses. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
// <ios>
// typedef SZ_T streamsize;
#include <ios>
#include <type_traits>
int main()
{
static_assert(std::is_integral<std::streamsize>::value, "");
static_assert(std::is_signed<std::streamsize>::value, "");
}