Sign in
llvm
/
llvm-project
/
clang
/
4de8f83beed7a99ad0af599c5543afed209f5da6
/
.
/
test
/
CodeGen
/
attr-noreturn.c
blob: 5dca4fa1f520af0ebd507b5a79e02cac7266bd7b [
file
] [
log
] [
blame
]
// RUN: %clang_cc1 -S -emit-llvm %s -o - | FileCheck %s
typedef
void
(*
fptrs_t
[
4
])(
void
);
fptrs_t
p __attribute__
((
noreturn
));
void
__attribute__
((
noreturn
))
f
()
{
p
[
0
]();
}
// CHECK: call void
// CHECK-NEXT: unreachable