aboutsummaryrefslogtreecommitdiff
path: root/test/const-array.qbe
diff options
context:
space:
mode:
authorMichael Forney <mforney@mforney.org>2020-06-03 02:39:09 -0700
committerMichael Forney <mforney@mforney.org>2020-06-03 02:39:09 -0700
commit6229709b8ae21d7722fef48ad8a9f2f10b900030 (patch)
tree16df9a6d31167cb85db8ec257dea2ded9693dc95 /test/const-array.qbe
parent0b153ef15c12a5a27f9a65000a3d7036b1829366 (diff)
decl: Allow out-of-range enum constants when they don't change type
gcc and clang allow enum constants out of range of int, but this means that the type of enumerator may differ inside and outside the enum specifier. Instead, only allow out-of-range enum constants when their types are compatible with the final enum type.
Diffstat (limited to 'test/const-array.qbe')
0 files changed, 0 insertions, 0 deletions