aboutsummaryrefslogtreecommitdiff
path: root/crates/libsyntax2/tests/data/parser/err/0023_mismatched_paren.rs
diff options
context:
space:
mode:
authorAleksey Kladov <[email protected]>2018-09-08 08:28:53 +0100
committerAleksey Kladov <[email protected]>2018-09-08 08:28:53 +0100
commita0a347eac941e93165c5b2728010bfbcb6ae9549 (patch)
tree110c64cbbe047968408a392c4b6aab5570aca629 /crates/libsyntax2/tests/data/parser/err/0023_mismatched_paren.rs
parentbd3a26493f101039fb6fe97561a15bcfffea82f0 (diff)
Don't get stuck in macros
Diffstat (limited to 'crates/libsyntax2/tests/data/parser/err/0023_mismatched_paren.rs')
-rw-r--r--crates/libsyntax2/tests/data/parser/err/0023_mismatched_paren.rs5
1 files changed, 5 insertions, 0 deletions
diff --git a/crates/libsyntax2/tests/data/parser/err/0023_mismatched_paren.rs b/crates/libsyntax2/tests/data/parser/err/0023_mismatched_paren.rs
new file mode 100644
index 000000000..0206d563e
--- /dev/null
+++ b/crates/libsyntax2/tests/data/parser/err/0023_mismatched_paren.rs
@@ -0,0 +1,5 @@
1fn main() {
2 foo! (
3 bar, "baz", 1, 2.0
4 } //~ ERROR incorrect close delimiter
5}