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
function_hooks/unwind: introduce return_implies_exact()
[smatch.git]
/
validation
/
linear
/
compound-literal02.c
blob
6ed5809eb83ab7c22f8a3382ea41a1dd79ecaacf
1
struct
bfs
{
2
int
a
:
2
;
3
int
b
:
30
;
4
};
5
6
int
bar
(
void
)
7
{
8
struct
bfs bf
= { .
a
=
1
, .
b
=
4
};
9
return
(
struct
bfs
[]){
bf
, { .
a
=
3
, .
b
=
6
}}[
1
].
b
;
10
}
11
12
/*
13
* check-name: compound-literal02.c
14
* check-command: test-linearize -Wno-decl $file
15
*
16
* check-output-ignore
17
* check-output-contains: ret\\..*\\$6
18
*/