summaryrefslogtreecommitdiff
path: root/tests/sources/0322_if_and.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/sources/0322_if_and.c')
-rw-r--r--tests/sources/0322_if_and.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/sources/0322_if_and.c b/tests/sources/0322_if_and.c
new file mode 100644
index 0000000..cd10203
--- /dev/null
+++ b/tests/sources/0322_if_and.c
@@ -0,0 +1,4 @@
+int x = rand(10,20);
+int y = rand(30,40);
+if (x>=15 && y>=35) { print(x,y); }
+else { print(x,y); }