unreachable code: don't warn about empty statements
[smatch.git] / validation / sizeof-bool.c
blob6c68748a0b3f2502d77711812c83211bfd0c11af
1 static int a(void)
3 return sizeof(_Bool);
5 /*
6 * check-name: sizeof(_Bool) is valid
7 * check-description: sizeof(_Bool) was rejected because _Bool is not an even
8 * number of bytes
9 * check-error-start
10 sizeof-bool.c:3:16: warning: expression using sizeof bool
11 * check-error-end