1 2 3 4 5 6 7 8 9 10 11 12
// run-pass #![allow(dead_code)] #![allow(unused_variables)] #![feature(const_fn_fn_ptr_basics)] const fn x() { let t = true; let x = || t; } fn main() {}