blob: e60686ab5111d4c7cc262e8c3992201aa6a5a9e4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
// Regression test for <https://github.com/rust-lang/rust/issues/144826>.
//@ check-pass
#![feature(explicit_tail_calls)]
#![expect(incomplete_features)]
fn foo(x: fn(&i32)) {
become bar(x);
}
fn bar(_: fn(&i32)) {}
fn main() {}
|