diff options
Diffstat (limited to 'progs/tests/constant/global_collision.sy')
| -rw-r--r-- | progs/tests/constant/global_collision.sy | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/progs/tests/constant/global_collision.sy b/progs/tests/constant/global_collision.sy new file mode 100644 index 0000000..6bce509 --- /dev/null +++ b/progs/tests/constant/global_collision.sy @@ -0,0 +1,10 @@ +fac :: fn a: int -> int { + if a < 1 { ret 1 } + ret a * fac! a - 1 +} + +a :: fac! 4 + +start :: fn { + a <=> 24 +} |
