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
kernel-printf: add printf format %pra for struct range
[smatch.git]
/
validation
/
enum-invalid.c
blob
62f8864d4cb0b519822bf51fd5648bc4571cf8d2
1
enum
e
{ };
2
enum
f
{
F
=
0.1
};
3
4
/*
5
* check-name: enum-invalid
6
*
7
* check-error-start
8
enum-invalid.c:1:10: error: empty enum definition
9
enum-invalid.c:2:14: error: bad constant expression
10
* check-error-end
11
*/