Sign in
llvm
/
llvm-project
/
clang
/
5d98a3efc03f2b130f13449f974f802db1066da3
/
.
/
test
/
CodeGen
/
attr-noreturn.c
blob: b4420bd5678c3d660a4d18d91a8bc2936776320a [
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
(
void
)
{
p
[
0
]();
}
// CHECK: call void
// CHECK-NEXT: unreachable