summaryrefslogtreecommitdiffstats
path: root/src/test/ui/super-fast-paren-parsing.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/ui/super-fast-paren-parsing.rs')
-rw-r--r--src/test/ui/super-fast-paren-parsing.rs25
1 files changed, 25 insertions, 0 deletions
diff --git a/src/test/ui/super-fast-paren-parsing.rs b/src/test/ui/super-fast-paren-parsing.rs
new file mode 100644
index 000000000..cb42ff2c6
--- /dev/null
+++ b/src/test/ui/super-fast-paren-parsing.rs
@@ -0,0 +1,25 @@
+// run-pass
+
+#![allow(unused_parens)]
+#![allow(non_upper_case_globals)]
+#![allow(dead_code)]
+// exec-env:RUST_MIN_STACK=16000000
+// rustc-env:RUST_MIN_STACK=16000000
+//
+// Big stack is needed for pretty printing, a little sad...
+
+static a: isize =
+(((((((((((((((((((((((((((((((((((((((((((((((((((
+(((((((((((((((((((((((((((((((((((((((((((((((((((
+(((((((((((((((((((((((((((((((((((((((((((((((((((
+(((((((((((((((((((((((((((((((((((((((((((((((((((
+(((((((((((((((((((((((((((((((((((((((((((((((((((
+1
+)))))))))))))))))))))))))))))))))))))))))))))))))))
+)))))))))))))))))))))))))))))))))))))))))))))))))))
+)))))))))))))))))))))))))))))))))))))))))))))))))))
+)))))))))))))))))))))))))))))))))))))))))))))))))))
+)))))))))))))))))))))))))))))))))))))))))))))))))))
+;
+
+pub fn main() {}