From 2a837eae399835bf918f48c670f2c9a1ef1aeedb Mon Sep 17 00:00:00 2001 From: Marshall Clow Date: Sun, 4 Sep 2016 00:37:06 +0000 Subject: [PATCH] Mark test as XFAIL for C++03, rather than providing a dummy pass. llvm-svn: 280605 --- libcxx/test/std/iterators/iterator.range/begin-end.pass.cpp | 7 ++----- 1 file 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 ec3f617..277dd6d 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 + // // template auto begin(C& c) -> decltype(c.begin()); // template auto begin(const C& c) -> decltype(c.begin()); @@ -17,7 +19,6 @@ #include "test_macros.h" -#if TEST_STD_VER >= 11 #include #include #include @@ -142,7 +143,3 @@ int main(){ static_assert(e - b == 3, ""); #endif } - -#else -int main(){} -#endif -- 2.7.4