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 returned_struct_members()
[smatch.git]
/
validation
/
sm_casts7.c
blob
674d023affb6266fa2e999aa46ae33f884c2f914
1
#include <stdio.h>
2
#include <string.h>
3
#include
"check_debug.h"
4
5
int
a
;
6
int
x
;
7
8
int
main
(
void
)
9
{
10
a
= (
unsigned short
)
x
;
11
__smatch_implied
(
a
);
12
13
return
0
;
14
}
15
16
17
/*
18
* check-name: smatch: casts #7
19
* check-command: smatch -I.. sm_casts7.c
20
*
21
* check-output-start
22
sm_casts7.c:11 main() implied: a = '0-u16max'
23
* check-output-end
24
*/