summaryrefslogtreecommitdiff
path: root/tests/sources/0503_loop_nondet.c
blob: ab17b7b9e5191902a864369f2e7677d8ad94fdc0 (plain) (blame)
1
2
3
4
5
int x = 0;
while (rand(0,1) == 0) {
  print(x);
  x = x + 1;
}