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
/
builtin_unreachable1.c
blob
70f6674c6443daa4d075b736b0e733f5d691988e
1
void
die
(
void
);
2
3
int
foo
(
int
c
)
4
{
5
if
(
c
)
6
return
1
;
7
die
();
8
__builtin_unreachable
();
9
}
10
11
/*
12
* check-name: builtin_unreachable1
13
* check-command: test-linearize -Wno-decl $file
14
*
15
* check-output-start
16
foo:
17
.L0:
18
<entry-point>
19
cbr %arg1, .L3, .L2
20
21
.L3:
22
ret.32 $1
23
24
.L2:
25
call die
26
unreachable
27
28
29
* check-output-end
30
*/