seekdir.pass.cpp revision 256813f4e7915d64776a4edd5f4765d893b9f062
1//===----------------------------------------------------------------------===//
2//
3//                     The LLVM Compiler Infrastructure
4//
5// This file is distributed under the University of Illinois Open Source
6// License. See LICENSE.TXT for details.
7//
8//===----------------------------------------------------------------------===//
9
10// <ios>
11
12// class ios_base
13
14// static const seekdir beg;
15// static const seekdir cur;
16// static const seekdir end;
17
18#include <ios>
19#include <cassert>
20
21int main()
22{
23    assert(std::ios_base::beg != std::ios_base::cur);
24    assert(std::ios_base::beg != std::ios_base::end);
25    assert(std::ios_base::cur != std::ios_base::end);
26}
27