diff options
author | Eric Fiselier <eric@efcs.ca> | 2018-02-07 21:25:25 +0000 |
---|---|---|
committer | Eric Fiselier <eric@efcs.ca> | 2018-02-07 21:25:25 +0000 |
commit | ebf8a0985f9dc28ff18728dc4302f9999eb3f26e (patch) | |
tree | e037f047c5e6e94a57a1c75ae91d45ac2e353922 /libcxx/test/std/containers/sequences/array/array.swap/swap.fail.cpp | |
parent | 421fdaa121040c4900b0318a07bd6ace68f3d113 (diff) | |
download | bcm5719-llvm-ebf8a0985f9dc28ff18728dc4302f9999eb3f26e.tar.gz bcm5719-llvm-ebf8a0985f9dc28ff18728dc4302f9999eb3f26e.zip |
Fix -verify static assert messages for older Clang versions
llvm-svn: 324529
Diffstat (limited to 'libcxx/test/std/containers/sequences/array/array.swap/swap.fail.cpp')
-rw-r--r-- | libcxx/test/std/containers/sequences/array/array.swap/swap.fail.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libcxx/test/std/containers/sequences/array/array.swap/swap.fail.cpp b/libcxx/test/std/containers/sequences/array/array.swap/swap.fail.cpp index c54905baee7..638c5b3212f 100644 --- a/libcxx/test/std/containers/sequences/array/array.swap/swap.fail.cpp +++ b/libcxx/test/std/containers/sequences/array/array.swap/swap.fail.cpp @@ -24,7 +24,7 @@ int main() { typedef std::array<const T, 0> C; C c = {}; C c2 = {}; - // expected-error-re@array:* {{static_assert failed {{.*}} "cannot swap zero-sized array of type 'const T'"}} + // expected-error-re@array:* {{static_assert failed {{.*}}"cannot swap zero-sized array of type 'const T'"}} c.swap(c2); // expected-note {{requested here}} } } |