summaryrefslogtreecommitdiffstats
path: root/libcxx/test/std/containers/sequences/array
diff options
context:
space:
mode:
authorEric Fiselier <eric@efcs.ca>2016-09-25 08:30:05 +0000
committerEric Fiselier <eric@efcs.ca>2016-09-25 08:30:05 +0000
commit221f689f3bc10cd51e5fa41bc63f722c88e9a3a9 (patch)
tree9371d3543379ff7a1e90523ebcb308fa18d74cdd /libcxx/test/std/containers/sequences/array
parentae91bc735370a783d7f44e132ff11af066e103c7 (diff)
downloadbcm5719-llvm-221f689f3bc10cd51e5fa41bc63f722c88e9a3a9.tar.gz
bcm5719-llvm-221f689f3bc10cd51e5fa41bc63f722c88e9a3a9.zip
Update -verify test to use new static assert message
llvm-svn: 282352
Diffstat (limited to 'libcxx/test/std/containers/sequences/array')
-rw-r--r--libcxx/test/std/containers/sequences/array/array.tuple/get.fail.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/libcxx/test/std/containers/sequences/array/array.tuple/get.fail.cpp b/libcxx/test/std/containers/sequences/array/array.tuple/get.fail.cpp
index 13323dd8e51..45e1d2b46b0 100644
--- a/libcxx/test/std/containers/sequences/array/array.tuple/get.fail.cpp
+++ b/libcxx/test/std/containers/sequences/array/array.tuple/get.fail.cpp
@@ -19,7 +19,6 @@
#include <array>
#include <cassert>
-#include "test_macros.h"
// std::array is explicitly allowed to be initialized with A a = { init-list };.
// Disable the missing braces warning for this reason.
@@ -32,10 +31,6 @@ int main()
typedef std::array<T, 3> C;
C c = {1, 2, 3.5};
std::get<3>(c) = 5.5; // expected-note {{requested here}}
-#if TEST_STD_VER >= 11
// expected-error@array:* {{static_assert failed "Index out of bounds in std::get<> (std::array)"}}
-#else
- // expected-error@array:* {{implicit instantiation of undefined template '__static_assert_test<false>'}}
-#endif
}
}
OpenPOWER on IntegriCloud