rt_gccstream/gcc/testsuite/gcc.dg/builtin-unreachable-3.c

10 lines
190 B
C

/* Check that a function containing only __builtin_unreachable()
doesn't ICE. */
/* { dg-do compile } */
/* { dg-options "-O2" } */
const char *
f (void)
{
__builtin_unreachable ();
}