// { dg-do compile { target c++11 } } // { dg-require-cstdint "" } #include std::mt19937 urng; std::__detail::_Adaptor aurng(urng); auto x = std::generate_canonical::digits>(urng); // { dg-error "static assertion failed: template argument must be a floating point type" "" { target *-*-* } 156 } // { dg-error "static assertion failed: template argument must be a floating point type" "" { target *-*-* } 3320 }