--- - branch: MAIN date: Tue Mar 9 23:09:48 UTC 2021 files: - new: '1.9' old: '1.8' path: src/tests/usr.bin/xlint/lint1/msg_130.c pathrev: src/tests/usr.bin/xlint/lint1/msg_130.c@1.9 type: modified - new: '1.7' old: '1.6' path: src/tests/usr.bin/xlint/lint1/msg_130.exp pathrev: src/tests/usr.bin/xlint/lint1/msg_130.exp@1.7 type: modified id: 20210309T230948Z.45e1b4b01570b9d60517111b77b6d691e3d1f9f2 log: | 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. module: src subject: 'CVS commit: src/tests/usr.bin/xlint/lint1' unixtime: '1615331388' user: rillig