Debian Codegraph @

gcc/testsuite/g++.dg/other/builtin-unreachable-1.C

raw
1 // PR c++/40445
2 // Check that a function containing only __builtin_unreachable()
3 // doesn't ICE.
4
5 // { dg-do compile }
6 // { dg-options "-O0" }
7 const char *
8 f (void)
9 {
10 __builtin_unreachable ();
11 }