2018-03-08 Richard Biener <rguenther@suse.de>
[official-gcc.git] / gcc / testsuite / gcc.dg / builtin-unreachable-3.c
blob6ad69261e1dc7e7f61b0e2a0d711e759b178c947
1 /* Check that a function containing only __builtin_unreachable()
2 doesn't ICE. */
3 /* { dg-do compile } */
4 /* { dg-options "-O2" } */
5 const char *
6 f (void)
8 __builtin_unreachable ();