aboutsummaryrefslogtreecommitdiff
path: root/crates/libsyntax2/tests/data/parser/err/0020_fn_recover.rs
diff options
context:
space:
mode:
Diffstat (limited to 'crates/libsyntax2/tests/data/parser/err/0020_fn_recover.rs')
-rw-r--r--crates/libsyntax2/tests/data/parser/err/0020_fn_recover.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/crates/libsyntax2/tests/data/parser/err/0020_fn_recover.rs b/crates/libsyntax2/tests/data/parser/err/0020_fn_recover.rs
new file mode 100644
index 000000000..3393b668b
--- /dev/null
+++ b/crates/libsyntax2/tests/data/parser/err/0020_fn_recover.rs
@@ -0,0 +1,3 @@
1fn
2
3fn foo() {}