From 4074d6ea3089e6d184fc5a50fb759e1d01be357a Mon Sep 17 00:00:00 2001 From: Nico Weber Date: Mon, 2 Jun 2014 12:00:08 +0000 Subject: [PATCH] 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?) git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@210019 91177308-0d34-0410-b5e6-96231b3b80d8 --- .../fstreams/filebuf.virtuals/seekoff.pass.cpp | 17 ----------------- 1 file changed, 17 deletions(-) diff --git a/test/input.output/file.streams/fstreams/filebuf.virtuals/seekoff.pass.cpp b/test/input.output/file.streams/fstreams/filebuf.virtuals/seekoff.pass.cpp index 01a56563..eb15faca 100644 --- a/test/input.output/file.streams/fstreams/filebuf.virtuals/seekoff.pass.cpp +++ b/test/input.output/file.streams/fstreams/filebuf.virtuals/seekoff.pass.cpp @@ -19,23 +19,6 @@ #include #include -template -struct test_buf - : public std::basic_filebuf -{ - typedef std::basic_filebuf 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() { {