blob: d1eabbacef2ef3b2ed7163c991b85aa61ead38ed [file] [log] [blame]
//===----------------------------------------------------------------------===//
//
// 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.
//
//===----------------------------------------------------------------------===//
// <iterator>
// istreambuf_iterator
// istreambuf_iterator() throw();
#include <iterator>
#include <sstream>
#include <cassert>
int main()
{
{
std::istreambuf_iterator<char> i;
assert(i == std::istreambuf_iterator<char>());
}
{
std::istreambuf_iterator<wchar_t> i;
assert(i == std::istreambuf_iterator<wchar_t>());
}
}