diff options
author | Alex AUVOLAT <alex.auvolat@ens.fr> | 2014-04-30 17:19:08 +0200 |
---|---|---|
committer | Alex AUVOLAT <alex.auvolat@ens.fr> | 2014-04-30 17:19:08 +0200 |
commit | bcde99fbe99174a094f38fdda70ad69d65a423f4 (patch) | |
tree | 21e16494aba19c4a63d55eba877abfe7fe5d8e80 /tests/sources/0506_loop_limit.c | |
download | SemVerif-Projet-bcde99fbe99174a094f38fdda70ad69d65a423f4.tar.gz SemVerif-Projet-bcde99fbe99174a094f38fdda70ad69d65a423f4.zip |
Fist commit (WIP)
Diffstat (limited to 'tests/sources/0506_loop_limit.c')
-rw-r--r-- | tests/sources/0506_loop_limit.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/sources/0506_loop_limit.c b/tests/sources/0506_loop_limit.c new file mode 100644 index 0000000..1a0d4f7 --- /dev/null +++ b/tests/sources/0506_loop_limit.c @@ -0,0 +1,5 @@ +int x = 0; +while (rand(0,1)==0) { + if (x < 10000) x = x + 1; +} +print(x); |