summaryrefslogtreecommitdiffstats
path: root/libcxx/test/input.output/file.streams/fstreams/filebuf.virtuals/seekoff.pass.cpp
diff options
context:
space:
mode:
authorNico Weber <nicolasweber@gmx.de>2014-06-02 12:00:08 +0000
committerNico Weber <nicolasweber@gmx.de>2014-06-02 12:00:08 +0000
commit0797874f3366aa5a8435c62ee7239e47b6a44696 (patch)
tree51a4d635ebe2a728c5ec69c71d2fdf2b7f09f036 /libcxx/test/input.output/file.streams/fstreams/filebuf.virtuals/seekoff.pass.cpp
parentcfbacc8a6501f151348dffbc3328e246061878b3 (diff)
downloadbcm5719-llvm-0797874f3366aa5a8435c62ee7239e47b6a44696.tar.gz
bcm5719-llvm-0797874f3366aa5a8435c62ee7239e47b6a44696.zip
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
Diffstat (limited to 'libcxx/test/input.output/file.streams/fstreams/filebuf.virtuals/seekoff.pass.cpp')
-rw-r--r--libcxx/test/input.output/file.streams/fstreams/filebuf.virtuals/seekoff.pass.cpp17
1 files changed, 0 insertions, 17 deletions
diff --git a/libcxx/test/input.output/file.streams/fstreams/filebuf.virtuals/seekoff.pass.cpp b/libcxx/test/input.output/file.streams/fstreams/filebuf.virtuals/seekoff.pass.cpp
index 01a56563445..eb15facad5b 100644
--- a/libcxx/test/input.output/file.streams/fstreams/filebuf.virtuals/seekoff.pass.cpp
+++ b/libcxx/test/input.output/file.streams/fstreams/filebuf.virtuals/seekoff.pass.cpp
@@ -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()
{
{
OpenPOWER on IntegriCloud