aboutsummaryrefslogtreecommitdiffstats
path: root/tests/fib.bad
blob: 8eec0b861af3cf448c10aea143ab2743dd6244cf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
let n = 90
let a = 0
let b = 1
let i = 0
while i < n {
    let tmp = a + b
    set a = b
    set b = tmp
    set i = i + 1
}

a