repo.or.cz
/
smatch.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
extra: expressions are equivalent even if they are unknown
[smatch.git]
/
validation
/
enum_scope.c
blob
92ffc8ef5979e88aebca3bcb1da01084a913b256
1
enum
{
A
=
12
};
2
3
static void
f
(
void
)
4
{
5
enum
{
A
=
A
+
1
,
B
};
6
char
s
[
1
-
2
* (
B
!=
14
)];
7
}
8
9
/*
10
* check-name: enumeration constants' scope [6.2.1p7]
11
*/