Mark test as XFAIL for C++03, rather than providing a dummy pass.

llvm-svn: 280605
This commit is contained in:
Marshall Clow 2016-09-04 00:37:06 +00:00
parent e77fce0a50
commit 2a837eae39

View File

@ -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