aboutsummaryrefslogtreecommitdiff
path: root/v_windows/v/vlib/v/checker/tests/division_by_zero_int_err.vv
diff options
context:
space:
mode:
Diffstat (limited to 'v_windows/v/vlib/v/checker/tests/division_by_zero_int_err.vv')
-rw-r--r--v_windows/v/vlib/v/checker/tests/division_by_zero_int_err.vv6
1 files changed, 6 insertions, 0 deletions
diff --git a/v_windows/v/vlib/v/checker/tests/division_by_zero_int_err.vv b/v_windows/v/vlib/v/checker/tests/division_by_zero_int_err.vv
new file mode 100644
index 0000000..4316fda
--- /dev/null
+++ b/v_windows/v/vlib/v/checker/tests/division_by_zero_int_err.vv
@@ -0,0 +1,6 @@
+fn main() {
+ println(1/0)
+ println(1/0x0)
+ println(1/0b0)
+ println(1/0o0)
+}