From 6efc20f54194ccb0c805b18fbcb67412fff05c9b 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. git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@280605 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/std/iterators/iterator.range/begin-end.pass.cpp | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/test/std/iterators/iterator.range/begin-end.pass.cpp b/test/std/iterators/iterator.range/begin-end.pass.cpp index ec3f61789..277dd6dac 100644 --- a/test/std/iterators/iterator.range/begin-end.pass.cpp +++ b/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