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
smatch_data/kernel.unreachable.ignore: add BUG(), WARN_ON() and others
[smatch.git]
/
validation
/
expand
/
constant-init-nested-struct.c
blob
f27de556f6c5b3fff51786a9af9d7f2695883375
1
struct
s
{
2
int
a
;
3
struct
{
4
int
b
;
5
int
c
;
6
}
s
;
7
};
8
9
int
foo
(
void
)
10
{
11
struct
s s
= {
1
, {
2
,
3
}};
12
return
s
.
s
.
c
;
13
}
14
15
/*
16
* check-name: constant-init-nested-struct
17
* check-command: test-linearize -Wno-decl -fdump-ir $file
18
* check-known-to-fail
19
*
20
* check-output-ignore
21
* check-output-contains: phisrc\\..*\\$3
22
* check-output-excludes: load\\.
23
*/