diff options
Diffstat (limited to 'crates/libsyntax2/tests')
-rw-r--r-- | crates/libsyntax2/tests/test/main.rs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/crates/libsyntax2/tests/test/main.rs b/crates/libsyntax2/tests/test/main.rs index 24058efa9..644df9f3c 100644 --- a/crates/libsyntax2/tests/test/main.rs +++ b/crates/libsyntax2/tests/test/main.rs | |||
@@ -85,6 +85,11 @@ pub enum A { | |||
85 | foo!{a, b<|><|> d} | 85 | foo!{a, b<|><|> d} |
86 | ", ", c[3]"); | 86 | ", ", c[3]"); |
87 | do_check(r" | 87 | do_check(r" |
88 | fn foo() { | ||
89 | vec![<|><|>] | ||
90 | } | ||
91 | ", "123"); | ||
92 | do_check(r" | ||
88 | extern { | 93 | extern { |
89 | fn<|>;<|> | 94 | fn<|>;<|> |
90 | } | 95 | } |