/* * Program from the introduction of * 2013CAV - Brockschmidt,Cook,Fuhs - Better termination proving through cooperation -draft * * Date: 12.12.2013 * Author: heizmann@informatik.uni-freiburg.de * */ extern int __VERIFIER_nondet_int(void); int main() { int x = __VERIFIER_nondet_int(); int y = 1; while (x > 0) { x = x - y; y = y + 1; } return 0; }