builtin_unreachable.c 233 B

12345678910111213141516
  1. /* example from gcc documents */
  2. void function_that_never_returns (void);
  3. static int g (int c)
  4. {
  5. if (c)
  6. return 1;
  7. function_that_never_returns ();
  8. __builtin_unreachable ();
  9. }
  10. /*
  11. * check-name: __builtin_unreachable()
  12. */