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
implications: remove a magic number
[smatch.git]
/
validation
/
alias-distinct.c
blob
42937b24b5cf629e5038fd1feaeda2cdd28d923f
1
extern
int
g
;
2
extern
int
h
;
3
4
static int
foo
(
void
)
5
{
6
g
=
1
;
7
h
=
2
;
8
return
g
==
1
;
9
}
10
11
/*
12
* check-name: alias distinct symbols
13
* check-command: test-linearize $file
14
* check-output-ignore
15
*
16
* check-output-contains: ret\\..* *\\$1
17
*/