From d0cfeb4f1616e125ca3a941f2dcf5dfbb5f2b03f Mon Sep 17 00:00:00 2001
From: darksv <darek969-12@o2.pl>
Date: Mon, 10 Sep 2018 23:21:16 +0200
Subject: Do not reparse token tree when it is not delimited by braces

---
 crates/libsyntax2/tests/test/main.rs | 5 +++++
 1 file changed, 5 insertions(+)

(limited to 'crates/libsyntax2/tests')

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 {
 foo!{a, b<|><|> d}
 ", ", c[3]");
     do_check(r"
+fn foo() {
+    vec![<|><|>]
+}
+", "123");
+    do_check(r"
 extern {
     fn<|>;<|>
 }
-- 
cgit v1.2.3