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