* c-c++-common/ubsan/align-7.c: Skip for -flto -fno-fat-lto-objects.
[official-gcc.git] / gcc / testsuite / c-c++-common / ubsan / unreachable-1.c
blob336240c96cba6cb614911bf4ab65bb80160a5173
1 /* { dg-do run } */
2 /* { dg-options "-fsanitize=unreachable" } */
3 /* { dg-shouldfail "ubsan" } */
5 int
6 main (void)
8 __builtin_unreachable ();
10 /* { dg-output "execution reached a __builtin_unreachable\\(\\) call" } */