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
sparse, llvm: Use LLVMInt1Type() in sym_basetype_type()
[smatch.git]
/
validation
/
builtin_unreachable.c
blob
29799b507dee230b0386a14fae6db4a6ff55d04a
1
/* example from gcc documents */
2
3
void
function_that_never_returns
(
void
);
4
5
static int
g
(
int
c
)
6
{
7
if
(
c
)
8
return
1
;
9
function_that_never_returns
();
10
__builtin_unreachable
();
11
}
12
13
/*
14
* check-name: __builtin_unreachable()
15
*/