generic_data: rename to match build_kernel_data.sh
[smatch.git] / validation / enum-from-int.c
blob15b1e4df1c581c00557dcc168d57825292752500
1 #include "enum-common.c"
3 /*
4 * check-name: -Wint-to-enum
5 * check-command: sparse -Wno-enum-mismatch $file
7 * check-error-start
8 enum-common.c:84:45: warning: conversion of
9 enum-common.c:84:45: int to
10 enum-common.c:84:45: int enum ENUM_TYPE_A
11 enum-common.c:85:45: warning: conversion of
12 enum-common.c:85:45: int to
13 enum-common.c:85:45: int enum ENUM_TYPE_A
14 enum-common.c:82:22: warning: conversion of
15 enum-common.c:82:22: int to
16 enum-common.c:82:22: int enum ENUM_TYPE_A
17 enum-common.c:87:17: warning: conversion of
18 enum-common.c:87:17: int to
19 enum-common.c:87:17: int enum ENUM_TYPE_A
20 enum-common.c:88:17: warning: conversion of
21 enum-common.c:88:17: int to
22 enum-common.c:88:17: int enum ENUM_TYPE_B
23 enum-common.c:89:25: warning: conversion of
24 enum-common.c:89:25: int to
25 enum-common.c:89:25: int enum <noident>
26 enum-common.c:90:25: warning: conversion of
27 enum-common.c:90:25: int to
28 enum-common.c:90:25: int enum <noident>
29 enum-common.c:91:18: warning: conversion of
30 enum-common.c:91:18: int to
31 enum-common.c:91:18: int enum ENUM_TYPE_A
32 enum-common.c:92:18: warning: conversion of
33 enum-common.c:92:18: int to
34 enum-common.c:92:18: int enum ENUM_TYPE_A
35 * check-error-end