// 5.1.4.3 class template subtract_with_carry [tr.rand.eng.sub]
// 5.1.1 Table 16 line 3 Gen ctor
+// { dg-require-time "" }
+
#include <ctime>
#include <tr1/random>
#include <testsuite_hooks.h>
subtract_with_carry<unsigned long, (1UL << 24), 10, 24> x(gen);
VERIFY( x.min() == 0 );
- VERIFY( x.max() == ((1 << 24) - 1) );
+ VERIFY( x.max() == ((1UL << 24) - 1) );
}
int main()