5 static enum eb
foo(enum ea a
)
11 * check-name: enum-mismatch
12 * check-command: sparse -Wenum-mismatch $file
15 enum-mismatch.c:7:16: warning: mixing different enum types:
16 enum-mismatch.c:7:16: unsigned int enum ea
17 enum-mismatch.c:7:16: unsigned int enum eb