summaryrefslogtreecommitdiff
path: root/tests/sources/0307_if_var.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/sources/0307_if_var.c')
-rw-r--r--tests/sources/0307_if_var.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/sources/0307_if_var.c b/tests/sources/0307_if_var.c
new file mode 100644
index 0000000..a18b71b
--- /dev/null
+++ b/tests/sources/0307_if_var.c
@@ -0,0 +1,3 @@
+int x = rand(-10,20);
+if (x >= 0) { print(x); }
+else { print(x); }