Test that OPT r fails immediately if the recursion depth is already exceeded

Fixes #1034
This commit is contained in:
Rangi authored and Eldred Habert committed 2022-08-28 22:21:24 +02:00
1 parent 4363ffcad4
commit dca24a6d50
3 files changed
+22

No files matched your search

+11
View File
@@ -0,0 +1,11 @@
MACRO m
DEF depth += 1
IF depth == 10
OPT r9
ENDC
println "at depth {d:depth}"
m
ENDM
DEF depth = 0
m