Home | History | Annotate | Download | only in ios_seekdir
      1 //===----------------------------------------------------------------------===//
      2 //
      3 //                     The LLVM Compiler Infrastructure
      4 //
      5 // This file is dual licensed under the MIT and the University of Illinois Open
      6 // Source Licenses. 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 
     21 int 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