diff options
Diffstat (limited to 'tests/pretty/issue-31073.pp')
-rw-r--r-- | tests/pretty/issue-31073.pp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/pretty/issue-31073.pp b/tests/pretty/issue-31073.pp new file mode 100644 index 000000000..75795f6d5 --- /dev/null +++ b/tests/pretty/issue-31073.pp @@ -0,0 +1,7 @@ +// pp-exact:issue-31073.pp + +fn main() { + fn f1(x: i32, y: i32) -> i32 { y } + let f: fn(_, i32) -> i32 = f1; + f(1, 2); +} |