Sign in
llvm
/
clang
/
c6d149249952dca405a25fd043da864ddf71301f
/
.
/
test
/
CodeGen
/
ubsan-noreturn.c
blob: 7de24e01692043af41ba047f669eba340a959fb4 [
file
] [
log
] [
blame
]
// RUN: %clang_cc1 %s -emit-llvm -fsanitize=unreachable -o - | FileCheck %s
// CHECK-LABEL: @f(
void
__attribute__
((
noreturn
))
f
()
{
// CHECK: __ubsan_handle_builtin_unreachable
// CHECK: unreachable
}