summaryrefslogtreecommitdiff
path: root/tests/sources/0309_if_var_rel.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/sources/0309_if_var_rel.c')
-rw-r--r--tests/sources/0309_if_var_rel.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/sources/0309_if_var_rel.c b/tests/sources/0309_if_var_rel.c
new file mode 100644
index 0000000..1788f99
--- /dev/null
+++ b/tests/sources/0309_if_var_rel.c
@@ -0,0 +1,3 @@
+int x = rand(-10,25);
+int y = rand(-15,20);
+if (x >= y) x = y;