//===----------------------------------------------------------------------===// // // 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. // //===----------------------------------------------------------------------===// // // istreambuf_iterator // istreambuf_iterator() throw(); #include #include #include int main() { { std::istreambuf_iterator i; assert(i == std::istreambuf_iterator()); } { std::istreambuf_iterator i; assert(i == std::istreambuf_iterator()); } }