summaryrefslogtreecommitdiff
path: root/tests/sources/0210_assign_neg2.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/sources/0210_assign_neg2.c')
-rw-r--r--tests/sources/0210_assign_neg2.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/sources/0210_assign_neg2.c b/tests/sources/0210_assign_neg2.c
new file mode 100644
index 0000000..d297b2c
--- /dev/null
+++ b/tests/sources/0210_assign_neg2.c
@@ -0,0 +1,3 @@
+int x;
+x = -rand(-1,10);
+