2010-05-12 03:42:16 +08:00
|
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
//
|
2010-05-12 05:36:01 +08:00
|
|
|
// The LLVM Compiler Infrastructure
|
2010-05-12 03:42:16 +08:00
|
|
|
//
|
2010-11-17 06:09:02 +08:00
|
|
|
// This file is dual licensed under the MIT and the University of Illinois Open
|
|
|
|
// Source Licenses. See LICENSE.TXT for details.
|
2010-05-12 03:42:16 +08:00
|
|
|
//
|
|
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
|
|
|
|
// <ios>
|
2010-08-22 08:20:12 +08:00
|
|
|
//
|
2010-05-12 03:42:16 +08:00
|
|
|
// 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);
|
|
|
|
}
|