rust/tests/pretty/issue-31073.pp

8 lines
130 B
ObjectPascal
Raw Normal View History

2024-02-21 12:37:58 +00:00
//@ pp-exact:issue-31073.pp
fn main() {
fn f1(x: i32, y: i32) -> i32 { y }
let f: fn(_, i32) -> i32 = f1;
f(1, 2);
}