aboutsummaryrefslogtreecommitdiff
path: root/src/relooper/test_fuzz3.txt
blob: b4b1831ddbc22dd13e0639fc4da560a7d39f0c57 (plain)
1
2
3
4
5
6
7
8
9
print('entry'); var label; var state; var decisions = [3, 3, 4, 1, 2, 1, 2, 4, 4, 4, 2, 3, 3, 1, 2]; var index = 0; function check() { if (index == decisions.length) throw 'HALT'; return decisions[index++] }
print(1); state = check();
print(3); state = check();
while(1) {
 print(4); state = check();
}