Sign in
kernel
/
pub
/
scm
/
linux
/
kernel
/
git
/
viro
/
sparse
/
2bc58a769b5b3cb381225e374695241512ffa163
/
.
/
validation
/
enum_scope.c
blob: 92ffc8ef5979e88aebca3bcb1da01084a913b256 [
file
] [
log
] [
blame
]
enum
{
A
=
12
};
static
void
f
(
void
)
{
enum
{
A
=
A
+
1
,
B
};
char
s
[
1
-
2
*
(
B
!=
14
)];
}
/*
* check-name: enumeration constants' scope [6.2.1p7]
*/