diff options
author | Marshall Clow <mclow.lists@gmail.com> | 2014-03-10 19:18:49 +0000 |
---|---|---|
committer | Marshall Clow <mclow.lists@gmail.com> | 2014-03-10 19:18:49 +0000 |
commit | 988a4e8d0eedaa3c27adeb45036556b9c926235d (patch) | |
tree | 43ade0e04f0fa3e11f25f129c816084b8f1b0f36 /libcxx/test/containers/associative/set/iterator.pass.cpp | |
parent | 9f607182862ec5dc170bc60703622f86456254ab (diff) | |
download | bcm5719-llvm-988a4e8d0eedaa3c27adeb45036556b9c926235d.tar.gz bcm5719-llvm-988a4e8d0eedaa3c27adeb45036556b9c926235d.zip |
More tests for LWG Issue #2263; this time to the associative and unordered containers. Still no changes to libc++
llvm-svn: 203480
Diffstat (limited to 'libcxx/test/containers/associative/set/iterator.pass.cpp')
-rw-r--r-- | libcxx/test/containers/associative/set/iterator.pass.cpp | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/libcxx/test/containers/associative/set/iterator.pass.cpp b/libcxx/test/containers/associative/set/iterator.pass.cpp index 39c8cc6723e..ecd950f03a0 100644 --- a/libcxx/test/containers/associative/set/iterator.pass.cpp +++ b/libcxx/test/containers/associative/set/iterator.pass.cpp @@ -199,10 +199,13 @@ int main() C::const_iterator cii{}; assert ( ii1 == ii2 ); assert ( ii1 == ii4 ); - assert ( ii1 == cii ); - assert ( !(ii1 != ii2 )); - assert ( !(ii1 != cii )); + assert (!(ii1 != ii2 )); + + assert ( (ii1 == cii )); + assert ( (cii == ii1 )); + assert (!(ii1 != cii )); + assert (!(cii != ii1 )); } #endif } |