mirror of https://github.com/m-labs/artiq.git
11 lines
202 B
Python
11 lines
202 B
Python
|
# RUN: %python -m artiq.compiler.testbench.jit %s
|
||
|
|
||
|
def fib(x):
|
||
|
if x == 1:
|
||
|
return x
|
||
|
else:
|
||
|
return x * fib(x - 1)
|
||
|
assert fib(5) == 120
|
||
|
|
||
|
# argument combinations handled in lambda.py
|