Now
MAIN commitmail json YAML
src/tests/usr.bin/xlint/lint1/msg_130.c@1.9
/
diff
/
nxr@1.9
src/tests/usr.bin/xlint/lint1/msg_130.exp@1.7 / diff / nxr@1.7
src/tests/usr.bin/xlint/lint1/msg_130.exp@1.7 / diff / nxr@1.7
tests/lint: add tests for comparison between unnamed enums
Since unnamed enum types cannot be used in type casts, there is no
sensible way that this type mismatch could be resolved, without changing
the definition of the enum type itself, but that may be in a
non-modifiable header.
Therefore, comparisons with enum constants of unnamed types cannot be
sensibly warned about.
Since unnamed enum types cannot be used in type casts, there is no
sensible way that this type mismatch could be resolved, without changing
the definition of the enum type itself, but that may be in a
non-modifiable header.
Therefore, comparisons with enum constants of unnamed types cannot be
sensibly warned about.