aboutsummaryrefslogtreecommitdiff
path: root/libcxx/test/iterators
diff options
context:
space:
mode:
authorBill Wendling <isanbard@gmail.com>2013-12-12 07:06:59 +0000
committerBill Wendling <isanbard@gmail.com>2013-12-12 07:06:59 +0000
commit9fb5fc9684e96c9a795c1dcf128d306d12ecc63d (patch)
tree6efaf60df40cc0d8250f86425b803cc6788ab673 /libcxx/test/iterators
parent26d28e51b8a176e5d4b3716772ac9cb29e65f2e9 (diff)
downloadllvm-9fb5fc9684e96c9a795c1dcf128d306d12ecc63d.zip
llvm-9fb5fc9684e96c9a795c1dcf128d306d12ecc63d.tar.gz
llvm-9fb5fc9684e96c9a795c1dcf128d306d12ecc63d.tar.bz2
Merging r196058:
------------------------------------------------------------------------ r196058 | marshall | 2013-12-01 19:24:33 -0800 (Sun, 01 Dec 2013) | 1 line Fix for PRPR17934; based on a fix suggested by Peter Sommerlad ------------------------------------------------------------------------ llvm-svn: 197133
Diffstat (limited to 'libcxx/test/iterators')
-rw-r--r--libcxx/test/iterators/iterator.range/begin-end.pass.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/libcxx/test/iterators/iterator.range/begin-end.pass.cpp b/libcxx/test/iterators/iterator.range/begin-end.pass.cpp
index e8a6c18..65d1a7b 100644
--- a/libcxx/test/iterators/iterator.range/begin-end.pass.cpp
+++ b/libcxx/test/iterators/iterator.range/begin-end.pass.cpp
@@ -52,6 +52,7 @@ void test_const_container( const std::initializer_list<T> & c, T val ) {
assert ( std::end(c) == c.end());
#if _LIBCPP_STD_VER > 11
// initializer_list doesn't have cbegin/cend/rbegin/rend
+// but std::cbegin(),etc work (b/c they're general fn templates)
// assert ( std::cbegin(c) == c.cbegin());
// assert ( std::cbegin(c) != c.cend());
// assert ( std::cend(c) == c.cend());