2 #![feature(rustc_allow_const_fn_unstable)]
4 #![feature(rustc_attrs, staged_api)]
5 #![stable(feature = "rust1", since = "1.0.0")]
7 #[stable(feature = "rust1", since = "1.0.0")]
8 #[rustc_const_stable(since="1.0.0", feature = "mep")]
9 const fn takes_fn_ptr(_: fn()) {}
11 const FN: fn() = || ();
13 const fn gives_fn_ptr() {