diff options
author | Marshall Clow <mclow.lists@gmail.com> | 2016-09-04 00:37:06 +0000 |
---|---|---|
committer | Marshall Clow <mclow.lists@gmail.com> | 2016-09-04 00:37:06 +0000 |
commit | 2a837eae399835bf918f48c670f2c9a1ef1aeedb (patch) | |
tree | ea1684a305cd23e15dbb09e27aeefc91564e830d /libcxx/test/std/iterators/iterator.range/begin-end.pass.cpp | |
parent | e77fce0a5038d3b2865f8442adc5b4fabf2b30fb (diff) | |
download | bcm5719-llvm-2a837eae399835bf918f48c670f2c9a1ef1aeedb.tar.gz bcm5719-llvm-2a837eae399835bf918f48c670f2c9a1ef1aeedb.zip |
Mark test as XFAIL for C++03, rather than providing a dummy pass.
llvm-svn: 280605
Diffstat (limited to 'libcxx/test/std/iterators/iterator.range/begin-end.pass.cpp')
-rw-r--r-- | libcxx/test/std/iterators/iterator.range/begin-end.pass.cpp | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/libcxx/test/std/iterators/iterator.range/begin-end.pass.cpp b/libcxx/test/std/iterators/iterator.range/begin-end.pass.cpp index ec3f61789b2..277dd6dac3e 100644 --- a/libcxx/test/std/iterators/iterator.range/begin-end.pass.cpp +++ b/libcxx/test/std/iterators/iterator.range/begin-end.pass.cpp @@ -7,6 +7,8 @@ // //===----------------------------------------------------------------------===// +// XFAIL: c++03 + // <iterator> // template <class C> auto begin(C& c) -> decltype(c.begin()); // template <class C> auto begin(const C& c) -> decltype(c.begin()); @@ -17,7 +19,6 @@ #include "test_macros.h" -#if TEST_STD_VER >= 11 #include <iterator> #include <cassert> #include <vector> @@ -142,7 +143,3 @@ int main(){ static_assert(e - b == 3, ""); #endif } - -#else -int main(){} -#endif |