summaryrefslogtreecommitdiff
path: root/Lib/test/crashers/compiler_recursion.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/test/crashers/compiler_recursion.py')
-rw-r--r--Lib/test/crashers/compiler_recursion.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/Lib/test/crashers/compiler_recursion.py b/Lib/test/crashers/compiler_recursion.py
new file mode 100644
index 0000000000..4954bdd8f0
--- /dev/null
+++ b/Lib/test/crashers/compiler_recursion.py
@@ -0,0 +1,5 @@
+"""
+The compiler (>= 2.5) recurses happily.
+"""
+
+compile('()'*9**5, '?', 'exec')