Sign in
kernel
/
pub
/
scm
/
linux
/
kernel
/
git
/
viro
/
sparse
/
16a2e9108be73f64a263b281a3991b51ced67b8b
/
.
/
validation
/
builtin_unreachable.c
blob: 29799b507dee230b0386a14fae6db4a6ff55d04a [
file
] [
log
] [
blame
]
/* example from gcc documents */
void
function_that_never_returns
(
void
);
static
int
g
(
int
c
)
{
if
(
c
)
return
1
;
function_that_never_returns
();
__builtin_unreachable
();
}
/*
* check-name: __builtin_unreachable()
*/