// { dg-do compile } // { dg-options "-std=gnu++11" } #include std::mt19937 urng; std::__detail::_Adaptor aurng(urng); auto x = std::generate_canonical::digits>(urng); // { dg-error "static assertion failed: template argument not a floating point type" "" { target *-*-* } 160 } // { dg-error "static assertion failed: template argument not a floating point type" "" { target *-*-* } 3314 }