blob: a34482a3527258ae28ee8cb8c91defb05809ddda [file] [log] [blame]
//@ check-pass
#![expect(incomplete_features)]
#![feature(explicit_tail_calls)]
pub const fn test(x: &Type) {
const fn takes_borrow(_: &Type) {}
become takes_borrow(x);
}
pub struct Type;
fn main() {}