summaryrefslogtreecommitdiff
path: root/tests/sources/0504_loop_rel.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/sources/0504_loop_rel.c')
-rw-r--r--tests/sources/0504_loop_rel.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/sources/0504_loop_rel.c b/tests/sources/0504_loop_rel.c
new file mode 100644
index 0000000..05804af
--- /dev/null
+++ b/tests/sources/0504_loop_rel.c
@@ -0,0 +1,7 @@
+int N = rand(0,1000);
+int x = 0;
+while (x < N) {
+ print(x,N);
+ x = x + 1;
+}
+assert(x==N);