Add missing dg-require-cstdint directives to tests
[official-gcc.git] / libstdc++-v3 / testsuite / 26_numerics / random / pr60037-neg.cc
blobf365337e789ccc7e5827c8ca1aa354df30d11367
1 // { dg-do compile { target c++11 } }
2 // { dg-require-cstdint "" }
4 #include <random>
6 std::mt19937 urng;
8 std::__detail::_Adaptor<std::mt19937, unsigned long> aurng(urng);
10 auto x = std::generate_canonical<std::size_t,
11 std::numeric_limits<std::size_t>::digits>(urng);
13 // { dg-error "static assertion failed: template argument must be a floating point type" "" { target *-*-* } 156 }
15 // { dg-error "static assertion failed: template argument must be a floating point type" "" { target *-*-* } 3320 }