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
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user