Fix test expectation to cope with custom version namespaces.

This commit is contained in:
Richard Smith 2020-12-13 22:41:19 -08:00
parent 05cdf4acf4
commit 7de9c61f31
1 changed files with 2 additions and 2 deletions

View File

@ -24,7 +24,7 @@ int main(int, char**)
// expected-error@random:* {{static_assert failed due to requirement '1ULL == 0 || 1ULL < 1ULL' "linear_congruential_engine invalid parameters"}}
std::linear_congruential_engine<T, 0, 1, 1> e3;
std::linear_congruential_engine<T, 1, 0, 1> e4;
// expected-error@random:* {{static_assert failed due to requirement 'std::__1::is_unsigned<int>::value' "_UIntType must be unsigned type"}}
// expected-error-re@random:* {{static_assert failed due to requirement 'std:{{.*}}:is_unsigned<int>::value' "_UIntType must be unsigned type"}}
std::linear_congruential_engine<int, 0, 0, 0> e5;
return 0;