blob: bea07ec2272e5d9e01298b2b5ff0609d28c93fc7 [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>
// class istream_iterator
// constexpr istream_iterator();
#include <iterator>
#include <cassert>
int main()
{
{
typedef std::istream_iterator<int> T;
T it;
assert(it == T());
#if __cplusplus >= 201103L
constexpr T it2;
#endif
}
}