1 // Checks that `const fn` with const params can be used.
5 #![cfg_attr(full, feature(const_generics))]
6 #![cfg_attr(full, allow(incomplete_features))]
8 const fn const_u32_identity<const X: u32>() -> u32 {
13 assert_eq!(const_u32_identity::<18>(), 18);