Sign in
gnu
/
gcc
/
8a0fce6a51915c29584427fd376b40073c328090
/
.
/
gcc
/
testsuite
/
c-c++-common
/
ubsan
/
unreachable-1.c
blob: a72a5fd99a8129ceca60efe569bc342909c557f4 [
file
] [
log
] [
blame
]
/* { dg-do run } */
/* { dg-options "-fsanitize=unreachable" } */
/* { dg-shouldfail "ubsan" } */
int
main
(
void
)
{
__builtin_unreachable
();
}
/* { dg-output "execution reached an unreachable program point" } */