File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
test/std/numerics/rand/rand.eng/rand.eng.lcong Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -1919,7 +1919,7 @@ private:
1919
1919
1920
1920
static_assert (__m == 0 || __a < __m, " linear_congruential_engine invalid parameters" );
1921
1921
static_assert (__m == 0 || __c < __m, " linear_congruential_engine invalid parameters" );
1922
- static_assert (_VSTD:: is_unsigned<_UIntType>::value, " _UIntType must be unsigned type" );
1922
+ static_assert (is_unsigned<_UIntType>::value, " _UIntType must be unsigned type" );
1923
1923
public:
1924
1924
static _LIBCPP_CONSTEXPR const result_type _Min = __c == 0u ? 1u : 0u ;
1925
1925
static _LIBCPP_CONSTEXPR const result_type _Max = __m - 1u ;
Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ int main(int, char**)
24
24
// expected-error@random:* {{static_assert failed due to requirement '1ULL == 0 || 1ULL < 1ULL' "linear_congruential_engine invalid parameters"}}
25
25
std::linear_congruential_engine<T, 0 , 1 , 1 > e3 ;
26
26
std::linear_congruential_engine<T, 1 , 0 , 1 > e4 ;
27
- // expected-error-re @random:* {{static_assert failed due to requirement 'std:{{.*}}: is_unsigned<int>::value' "_UIntType must be unsigned type"}}
27
+ // expected-error@random:* {{static_assert failed due to requirement 'is_unsigned<int>::value' "_UIntType must be unsigned type"}}
28
28
std::linear_congruential_engine<int , 0 , 0 , 0 > e5 ;
29
29
30
30
return 0 ;
You can’t perform that action at this time.
0 commit comments