summaryrefslogtreecommitdiffstats
path: root/libcxx/test/std/depr/depr.ios.members/seek_dir.pass.cpp
blob: 891a7a34563859650f12f3a28983123f0088a91d (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 dual licensed under the MIT and the University of Illinois Open
// Source Licenses. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//

// <ios>
//
// class ios_base
// {
// public:
//     typedef T3 seek_dir;
// };

#include <strstream>
#include <cassert>

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