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
atomic_inc_dec: improve how inc/dec is recorded in the DB
[smatch.git]
/
validation
/
kill-slice.c
blob
00db0e0f75ae5d94c6441878773a872c91751ae9
1
struct
bar
{
2
int
x
;
3
int
y
[
2
];
4
};
5
struct
bar
bar
(
void
);
6
7
int
foo
(
void
)
8
{
9
int
x
=
bar
().
x
;
10
return
x
&
0
;
11
}
12
13
/*
14
* check-name: kill-slice
15
* check-command: test-linearize -Wno-decl $file
16
* check-output-ignore
17
*
18
* check-output-excludes: slice\\.
19
*/