summaryrefslogtreecommitdiffstats
path: root/libcxx/test/std/containers/sequences/array
diff options
context:
space:
mode:
authorEric Fiselier <eric@efcs.ca>2018-12-15 05:18:56 +0000
committerEric Fiselier <eric@efcs.ca>2018-12-15 05:18:56 +0000
commit241c73b1912df7f0aea6080c33a9a0d64585d681 (patch)
tree401ddaef834675be25dec10319345f82b6164ee3 /libcxx/test/std/containers/sequences/array
parent3ac031bb8fd6580b1e069c423f1a45090a17b530 (diff)
downloadbcm5719-llvm-241c73b1912df7f0aea6080c33a9a0d64585d681.tar.gz
bcm5719-llvm-241c73b1912df7f0aea6080c33a9a0d64585d681.zip
Fix static assert diagnostic checks in i386
llvm-svn: 349252
Diffstat (limited to 'libcxx/test/std/containers/sequences/array')
-rw-r--r--libcxx/test/std/containers/sequences/array/array.tuple/get.fail.cpp2
-rw-r--r--libcxx/test/std/containers/sequences/array/array.tuple/tuple_element.fail.cpp2
2 files changed, 2 insertions, 2 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 d575b088aa4..a7e56fccef0 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
@@ -31,6 +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}}
- // expected-error-re@array:* {{static_assert failed{{( due to requirement '3UL < 3UL')?}} "Index out of bounds in std::get<> (std::array)"}}
+ // expected-error-re@array:* {{static_assert failed{{( due to requirement '3U[L]{0,2} < 3U[L]{0,2}')?}} "Index out of bounds in std::get<> (std::array)"}}
}
}
diff --git a/libcxx/test/std/containers/sequences/array/array.tuple/tuple_element.fail.cpp b/libcxx/test/std/containers/sequences/array/array.tuple/tuple_element.fail.cpp
index dd29d1263e3..2139fc1ad48 100644
--- a/libcxx/test/std/containers/sequences/array/array.tuple/tuple_element.fail.cpp
+++ b/libcxx/test/std/containers/sequences/array/array.tuple/tuple_element.fail.cpp
@@ -30,6 +30,6 @@ int main()
typedef double T;
typedef std::array<T, 3> C;
std::tuple_element<3, C> foo; // expected-note {{requested here}}
- // expected-error-re@array:* {{static_assert failed{{( due to requirement '3UL < 3UL')?}} "Index out of bounds in std::tuple_element<> (std::array)"}}
+ // expected-error-re@array:* {{static_assert failed{{( due to requirement '3U[L]{0,2} < 3U[L]{0,2}')?}} "Index out of bounds in std::tuple_element<> (std::array)"}}
}
}
OpenPOWER on IntegriCloud