Tolerate Clangs new static_assert messages

llvm-svn: 349189
This commit is contained in:
Eric Fiselier
2018-12-14 20:42:36 +00:00
parent 3ccec59ec2
commit 3e5d847fa0
6 changed files with 6 additions and 6 deletions

View File

@@ -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@array:* {{static_assert failed "Index out of bounds in std::get<> (std::array)"}}
// expected-error-re@array:* {{static_assert failed{{( due to requirement '3UL < 3UL')?}} "Index out of bounds in std::get<> (std::array)"}}
}
}