//@ check-pass #![feature(inline_const)] fn foo() -> usize { const { std::mem::size_of::() } } fn bar() -> usize { const { N + 1 } } fn main() { foo::(); bar::<1>(); }