summaryrefslogtreecommitdiffstats
path: root/libcxx/test/std/iterators
diff options
context:
space:
mode:
authorMarshall Clow <mclow.lists@gmail.com>2017-05-23 18:55:32 +0000
committerMarshall Clow <mclow.lists@gmail.com>2017-05-23 18:55:32 +0000
commitc44a727ee43fa143528a51765905943fc681bd8b (patch)
tree917e050cf2b3146e0915bf52c4cc0141e836d70e /libcxx/test/std/iterators
parent02295000c21bbeabcdf3514f8382845e2b9ab241 (diff)
downloadbcm5719-llvm-c44a727ee43fa143528a51765905943fc681bd8b.tar.gz
bcm5719-llvm-c44a727ee43fa143528a51765905943fc681bd8b.zip
Implement LWG#2790: Remove istreambuf_iterator::operator->. It never did anything useful.
llvm-svn: 303675
Diffstat (limited to 'libcxx/test/std/iterators')
-rw-r--r--libcxx/test/std/iterators/stream.iterators/istreambuf.iterator/istreambuf.iterator_op_astrk/arrow.pass.cpp28
1 files changed, 0 insertions, 28 deletions
diff --git a/libcxx/test/std/iterators/stream.iterators/istreambuf.iterator/istreambuf.iterator_op_astrk/arrow.pass.cpp b/libcxx/test/std/iterators/stream.iterators/istreambuf.iterator/istreambuf.iterator_op_astrk/arrow.pass.cpp
deleted file mode 100644
index e3bf5e2bd84..00000000000
--- a/libcxx/test/std/iterators/stream.iterators/istreambuf.iterator/istreambuf.iterator_op_astrk/arrow.pass.cpp
+++ /dev/null
@@ -1,28 +0,0 @@
-//===----------------------------------------------------------------------===//
-//
-// 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.
-//
-//===----------------------------------------------------------------------===//
-
-// <iterator>
-
-// istreambuf_iterator
-
-// pointer operator->() const;
-
-#include <iostream>
-#include <sstream>
-#include <streambuf>
-
-typedef char C;
-int main ()
-{
- std::istringstream s("filename");
- std::istreambuf_iterator<char> i(s);
-
- (*i).~C(); // This is well-formed...
- i->~C(); // ... so this should be supported!
-}
OpenPOWER on IntegriCloud