summaryrefslogtreecommitdiffstats
path: root/libcxx/test/depr/depr.ios.members/io_state.pass.cpp
blob: 87eec0d8e9b5e982cfa185bcb2cbee0c5f24446e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
//===----------------------------------------------------------------------===//
//
// ÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊThe LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//

// <ios>
// 
// class ios_base
// {
// public:
//     typedef T1 io_state;
// };

#include <strstream>
#include <cassert>

int main()
{
    std::strstream::io_state b = std::strstream::eofbit;
    assert(b == std::ios::eofbit);
}
OpenPOWER on IntegriCloud