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