From 8bae8a47d5a6674b401da6429a3475b284699871 Mon Sep 17 00:00:00 2001 From: Michael Forney Date: Sun, 11 Aug 2019 16:53:38 -0700 Subject: decl: Allow enumerator values up to UINT_MAX --- test/enum-large-value.c | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 test/enum-large-value.c (limited to 'test/enum-large-value.c') diff --git a/test/enum-large-value.c b/test/enum-large-value.c new file mode 100644 index 0000000..3532062 --- /dev/null +++ b/test/enum-large-value.c @@ -0,0 +1,4 @@ +enum { + A = 0x80000000, +}; +int x = A < 0; -- cgit v1.2.3