summaryrefslogtreecommitdiff
path: root/tests/sources/0305_if_else_both.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/sources/0305_if_else_both.c')
-rw-r--r--tests/sources/0305_if_else_both.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/sources/0305_if_else_both.c b/tests/sources/0305_if_else_both.c
new file mode 100644
index 0000000..ddf0eb2
--- /dev/null
+++ b/tests/sources/0305_if_else_both.c
@@ -0,0 +1,2 @@
+int x = 1;
+if (rand(0,1) == 0) x = 5; else x = 10;