diff options
author | Eric Fiselier <eric@efcs.ca> | 2018-12-14 20:42:36 +0000 |
---|---|---|
committer | Eric Fiselier <eric@efcs.ca> | 2018-12-14 20:42:36 +0000 |
commit | 3e5d847fa02f63d0026a6771be613e464530bb6f (patch) | |
tree | e5c51f0eac3ed4538687b52ecbaacd53f4a215f8 /libcxx/test/std/algorithms/alg.modifying.operations | |
parent | 3ccec59ec2fffd039c91f3dfba2b34df63937c9a (diff) | |
download | bcm5719-llvm-3e5d847fa02f63d0026a6771be613e464530bb6f.tar.gz bcm5719-llvm-3e5d847fa02f63d0026a6771be613e464530bb6f.zip |
Tolerate Clangs new static_assert messages
llvm-svn: 349189
Diffstat (limited to 'libcxx/test/std/algorithms/alg.modifying.operations')
-rw-r--r-- | libcxx/test/std/algorithms/alg.modifying.operations/alg.random.sample/sample.fail.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libcxx/test/std/algorithms/alg.modifying.operations/alg.random.sample/sample.fail.cpp b/libcxx/test/std/algorithms/alg.modifying.operations/alg.random.sample/sample.fail.cpp index d769ad850c3..3d37d052ccc 100644 --- a/libcxx/test/std/algorithms/alg.modifying.operations/alg.random.sample/sample.fail.cpp +++ b/libcxx/test/std/algorithms/alg.modifying.operations/alg.random.sample/sample.fail.cpp @@ -34,7 +34,7 @@ template <class PopulationIterator, class SampleIterator> void test() { } int main() { - // expected-error@algorithm:* {{static_assert failed "SampleIterator must meet the requirements of RandomAccessIterator"}} + // expected-error-re@algorithm:* {{static_assert failed{{( due to requirement '.*')?}} "SampleIterator must meet the requirements of RandomAccessIterator"}} // expected-error@algorithm:* 2 {{does not provide a subscript operator}} // expected-error@algorithm:* {{invalid operands}} test<input_iterator<int *>, output_iterator<int *> >(); |