blob: 5c05b813048b827289cf1e7be83157a1b40c7df4 [file] [log] [blame]
#![feature(hint_assert_unchecked)]
#![feature(const_hint_assert_unchecked)]
const _: () = unsafe {
let n = u32::MAX.count_ones();
std::hint::assert_unchecked(n < 32); //~ ERROR evaluation of constant value failed
};
fn main() {
}