about summary refs log tree commit diff
path: root/tests/ui/parser/super-fast-paren-parsing.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/parser/super-fast-paren-parsing.rs')
-rw-r--r--tests/ui/parser/super-fast-paren-parsing.rs22
1 files changed, 22 insertions, 0 deletions
diff --git a/tests/ui/parser/super-fast-paren-parsing.rs b/tests/ui/parser/super-fast-paren-parsing.rs
new file mode 100644
index 00000000000..5b7cd6fe47d
--- /dev/null
+++ b/tests/ui/parser/super-fast-paren-parsing.rs
@@ -0,0 +1,22 @@
+//@ run-pass
+
+#![allow(unused_parens)]
+#![allow(non_upper_case_globals)]
+#![allow(dead_code)]
+#![cfg_attr(rustfmt, rustfmt::skip)]
+
+static a: isize =
+(((((((((((((((((((((((((((((((((((((((((((((((((((
+(((((((((((((((((((((((((((((((((((((((((((((((((((
+(((((((((((((((((((((((((((((((((((((((((((((((((((
+(((((((((((((((((((((((((((((((((((((((((((((((((((
+(((((((((((((((((((((((((((((((((((((((((((((((((((
+1
+)))))))))))))))))))))))))))))))))))))))))))))))))))
+)))))))))))))))))))))))))))))))))))))))))))))))))))
+)))))))))))))))))))))))))))))))))))))))))))))))))))
+)))))))))))))))))))))))))))))))))))))))))))))))))))
+)))))))))))))))))))))))))))))))))))))))))))))))))))
+;
+
+pub fn main() {}