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
check_deref: use add_dereference_hook()
[smatch.git]
/
validation
/
expand
/
constant-init-array.c
blob
94949be5424459c4df693967f0216d98ecfdfa91
1
int
test_array
(
int
i
)
2
{
3
static const int
a
[
3
] = {
1
,
2
,
3
, };
4
5
return
a
[
1
];
6
}
7
8
/*
9
* check-name: constant-init-array
10
* check-command: test-linearize -Wno-decl -fdump-ir $file
11
*
12
* check-output-ignore
13
* check-output-excludes: phisrc\\..*return.*\\$2
14
* check-output-contains: load\\.
15
*/