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
implied pools: cleanup how implied pools are created.
[smatch.git]
/
validation
/
badtype4.c
blob
978c5bdbd7da8cbebc9d10e5adfe6918b94c31eb
1
void
a
(
void
)
2
{
3
switch
(
x
) {
4
case
1
:
5
break
;
6
}
7
}
8
/*
9
* check-name: switch(bad_type) {...} segfault
10
*
11
* check-error-start
12
badtype4.c:3:9: error: undefined identifier 'x'
13
badtype4.c:4:7: error: incompatible types for 'case' statement
14
* check-error-end
15
*/