smatch: relicense to GPLv2+
[smatch.git] / validation / builtin_unreachable.c
blob29799b507dee230b0386a14fae6db4a6ff55d04a
1 /* example from gcc documents */
3 void function_that_never_returns (void);
5 static int g (int c)
7 if (c)
8 return 1;
9 function_that_never_returns ();
10 __builtin_unreachable ();
14 * check-name: __builtin_unreachable()