aboutsummaryrefslogtreecommitdiff
path: root/v_windows/v/vlib/v/checker/tests/enum_field_value_overflow.out
diff options
context:
space:
mode:
Diffstat (limited to 'v_windows/v/vlib/v/checker/tests/enum_field_value_overflow.out')
-rw-r--r--v_windows/v/vlib/v/checker/tests/enum_field_value_overflow.out7
1 files changed, 7 insertions, 0 deletions
diff --git a/v_windows/v/vlib/v/checker/tests/enum_field_value_overflow.out b/v_windows/v/vlib/v/checker/tests/enum_field_value_overflow.out
new file mode 100644
index 0000000..c6bb9c0
--- /dev/null
+++ b/v_windows/v/vlib/v/checker/tests/enum_field_value_overflow.out
@@ -0,0 +1,7 @@
+vlib/v/checker/tests/enum_field_value_overflow.vv:3:10: error: enum value `2147483648` overflows int
+ 1 | enum Color {
+ 2 | red
+ 3 | green = 2147483648
+ | ~~~~~~~~~~
+ 4 | blue
+ 5 | } \ No newline at end of file