minix/external/bsd/libc++/dist/libcxx/test/depr/depr.str.strstreams/depr.istrstream/types.pass.cpp

24 lines
586 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.
//
//===----------------------------------------------------------------------===//
// <strstream>
// class istrstream
// : public basic_istream<char>
// {
// ...
#include <strstream>
#include <type_traits>
int main()
{
static_assert((std::is_base_of<std::istream, std::istrstream>::value), "");
}