Sign in
chromium
/
chromiumos
/
third_party
/
gcc
/
refs/heads/stabilize-6771.B
/
.
/
gcc
/
testsuite
/
c-c++-common
/
ubsan
/
unreachable-1.c
blob: 336240c96cba6cb614911bf4ab65bb80160a5173 [
file
] [
log
] [
blame
]
/* { dg-do run } */
/* { dg-options "-fsanitize=unreachable" } */
/* { dg-shouldfail "ubsan" } */
int
main
(
void
)
{
__builtin_unreachable
();
}
/* { dg-output "execution reached a __builtin_unreachable\\(\\) call" } */