blob: 50bf6c946ca8fa1bb62e7ad73692b7259da24a39 [file] [log] [blame] [edit]
//@ check-pass
#![allow(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() {}