Sign in
kernel
/
pub
/
scm
/
linux
/
kernel
/
git
/
palmer
/
sparse
/
f0e6938bffe0e21cde6e60ff63ed8877d4d04e26
/
.
/
validation
/
enum-sign-extend.c
blob: d852c934e269a42b5b949ef48c8875beaf66479f [
file
] [
log
] [
blame
]
enum
num
{
a
=
0x80000000
,
b
=
-
1
,
};
_Static_assert
([
typeof
(
b
)]
==
[
long
],
"type"
);
_Static_assert
(
b
==
-
1L
,
"value"
);
/*
* check-name: enum-sign-extend
* check-command: sparse -m64 $file
*/