1 #include "enum-common.c"
4 * check-name: -Wenum-to-int
5 * check-command: sparse -Wenum-to-int -Wno-enum-mismatch -Wno-int-to-enum $file
8 enum-common.c:97:13: warning: conversion of
9 enum-common.c:97:13: int enum ENUM_TYPE_A to
10 enum-common.c:97:13: int
11 enum-common.c:98:13: warning: conversion of
12 enum-common.c:98:13: int enum ENUM_TYPE_B to
13 enum-common.c:98:13: int
14 enum-common.c:103:34: warning: conversion of
15 enum-common.c:103:34: int enum ENUM_TYPE_A to
16 enum-common.c:103:34: int
17 enum-common.c:104:34: warning: conversion of
18 enum-common.c:104:34: int enum ENUM_TYPE_B to
19 enum-common.c:104:34: int
20 enum-common.c:100:22: warning: conversion of
21 enum-common.c:100:22: int enum ENUM_TYPE_A to
22 enum-common.c:100:22: int
23 enum-common.c:101:22: warning: conversion of
24 enum-common.c:101:22: int enum ENUM_TYPE_B to
25 enum-common.c:101:22: int