zig/test/behavior
Andrew Kelley 7453f56e67 stage2: explicitly tagged enums no longer have one possible value
Previously, Zig had inconsistent semantics for an enum like this:

`enum(u8){zero = 0}`

Although in theory this can only hold one possible value, the tag
`zero`, Zig no longer will treat the type this way. It will do loads and
stores, as if the type has runtime bits.

Closes #12619

Tests passed locally:
 * test-behavior
 * test-cases
2022-08-24 22:20:31 -07:00
..
2022-02-28 23:20:05 +01:00
2022-07-14 18:11:46 -07:00
2021-10-28 17:33:05 -07:00
2022-03-18 15:02:52 -07:00
2022-02-13 14:42:20 +02:00
2022-06-08 15:51:48 -07:00
2022-07-14 18:11:46 -07:00
2022-01-07 00:06:06 -05:00
2022-02-22 21:57:42 +01:00
2022-03-05 11:31:51 +01:00
2022-08-10 16:43:47 -07:00
2022-03-18 00:12:22 -07:00
2022-03-18 15:02:52 -07:00