summaryrefslogtreecommitdiff
path: root/libcxx/test/iterators/stream.iterators/iterator.range/begin_const.pass.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libcxx/test/iterators/stream.iterators/iterator.range/begin_const.pass.cpp')
-rw-r--r--libcxx/test/iterators/stream.iterators/iterator.range/begin_const.pass.cpp23
1 files changed, 0 insertions, 23 deletions
diff --git a/libcxx/test/iterators/stream.iterators/iterator.range/begin_const.pass.cpp b/libcxx/test/iterators/stream.iterators/iterator.range/begin_const.pass.cpp
deleted file mode 100644
index 7dca8b071e10..000000000000
--- a/libcxx/test/iterators/stream.iterators/iterator.range/begin_const.pass.cpp
+++ /dev/null
@@ -1,23 +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>
-
-// template <class C> auto begin(const C& c) -> decltype(c.begin());
-
-#include <vector>
-#include <cassert>
-
-int main()
-{
- int ia[] = {1, 2, 3};
- const std::vector<int> v(ia, ia + sizeof(ia)/sizeof(ia[0]));
- std::vector<int>::const_iterator i = begin(v);
- assert(*i == 1);
-}