diff options
Diffstat (limited to 'crates/libsyntax2/tests/test')
-rw-r--r-- | crates/libsyntax2/tests/test/main.rs | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/crates/libsyntax2/tests/test/main.rs b/crates/libsyntax2/tests/test/main.rs index e7ae4d601..596f32216 100644 --- a/crates/libsyntax2/tests/test/main.rs +++ b/crates/libsyntax2/tests/test/main.rs | |||
@@ -59,6 +59,13 @@ struct Foo { | |||
59 | f: foo<|><|> | 59 | f: foo<|><|> |
60 | } | 60 | } |
61 | ", ",\n g: (),"); | 61 | ", ",\n g: (),"); |
62 | do_check(r" | ||
63 | fn foo { | ||
64 | let; | ||
65 | 1 + 1; | ||
66 | <|>92<|>; | ||
67 | } | ||
68 | ", "62"); | ||
62 | } | 69 | } |
63 | 70 | ||
64 | 71 | ||