summaryrefslogtreecommitdiffstats
path: root/libcxx/test/std/utilities
diff options
context:
space:
mode:
authorEric Fiselier <eric@efcs.ca>2018-09-20 01:15:17 +0000
committerEric Fiselier <eric@efcs.ca>2018-09-20 01:15:17 +0000
commit2d79835ccb30ddf4441dfa4380fb0e6e3dc94544 (patch)
treed14f400f83c222d17cd3c226211eddac712257d6 /libcxx/test/std/utilities
parent0c4cf6436a982c687efb588e3109daa6064a2fa2 (diff)
downloadbcm5719-llvm-2d79835ccb30ddf4441dfa4380fb0e6e3dc94544.tar.gz
bcm5719-llvm-2d79835ccb30ddf4441dfa4380fb0e6e3dc94544.zip
Fix diagnostic regex in variant tests to tolerate older clang versions
llvm-svn: 342609
Diffstat (limited to 'libcxx/test/std/utilities')
-rw-r--r--libcxx/test/std/utilities/variant/variant.relops/relops_bool_conv.fail.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/libcxx/test/std/utilities/variant/variant.relops/relops_bool_conv.fail.cpp b/libcxx/test/std/utilities/variant/variant.relops/relops_bool_conv.fail.cpp
index c0c296c11ff..ab68bc42047 100644
--- a/libcxx/test/std/utilities/variant/variant.relops/relops_bool_conv.fail.cpp
+++ b/libcxx/test/std/utilities/variant/variant.relops/relops_bool_conv.fail.cpp
@@ -77,7 +77,7 @@ int main() {
using V = std::variant<int, ComparesToMyBoolExplicit>;
V v1(42);
V v2(101);
- // expected-error-re@variant:* 6 {{static_assert failed due to requirement 'std::is_convertible{{[^']+}}' "the relational operator does not return a type which is implicitly convertible to bool"}}
+ // expected-error-re@variant:* 6 {{static_assert failed {{.*}}"the relational operator does not return a type which is implicitly convertible to bool"}}
// expected-error@variant:* 6 {{no viable conversion}}
(void)(v1 == v2); // expected-note {{here}}
(void)(v1 != v2); // expected-note {{here}}
OpenPOWER on IntegriCloud