Remove unused code in a libc++ test.

Other tests in this directory use this type, so it's probably copypasta from
there.

(test_buf only forwards to the superclass in all tests where it's used though,
so I wonder if it can be replaced with just using filebuf / wfilebuf
everywhere?)

llvm-svn: 210019
This commit is contained in:
Nico Weber 2014-06-02 12:00:08 +00:00
parent cfbacc8a65
commit 0797874f33
1 changed files with 0 additions and 17 deletions

View File

@ -19,23 +19,6 @@
#include <fstream>
#include <cassert>
template <class CharT>
struct test_buf
: public std::basic_filebuf<CharT>
{
typedef std::basic_filebuf<CharT> base;
typedef typename base::char_type char_type;
typedef typename base::int_type int_type;
typedef typename base::pos_type pos_type;
char_type* eback() const {return base::eback();}
char_type* gptr() const {return base::gptr();}
char_type* egptr() const {return base::egptr();}
void gbump(int n) {base::gbump(n);}
virtual int_type underflow() {return base::underflow();}
};
int main()
{
{