blob: 1f70cc60ed51031fe939a1281cb5a62aab0755b2 [file] [log] [blame]
//===----------------------------------------------------------------------===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
// <streambuf>
// template <class charT, class traits = char_traits<charT> >
// class basic_streambuf;
// int_type underflow();
#include <streambuf>
#include <cassert>
struct test
: public std::basic_streambuf<char>
{
test() {}
};
int main()
{
test t;
assert(t.sgetc() == -1);
}