mirror of
https://github.com/llvm-mirror/libcxx.git
synced 2025-10-22 16:37:40 +08:00
Tolerate Clangs new static_assert messages
git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@349189 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -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 *> >();
|
||||
|
Reference in New Issue
Block a user