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: fix bug handling untracked pointers
[smatch.git]
/
validation
/
sm_range5.c
blob
628b5c16cdb2604ffb261ab7475cd19d6c91fe66
1
#include
"check_debug.h"
2
3
int
main
(
unsigned int
x
,
unsigned int
y
)
4
{
5
switch
(
x
) {
6
case
0
...
9
:
7
__smatch_implied
(
x
);
8
break
;
9
default
:
10
__smatch_implied
(
x
);
11
}
12
}
13
14
/*
15
* check-name: smatch range #5
16
* check-command: smatch -I.. sm_range5.c
17
*
18
* check-output-start
19
sm_range5.c:7 main() implied: x = '0-9'
20
sm_range5.c:10 main() implied: x = '10-u32max'
21
* check-output-end
22
*/