sparse, llvm: Fix assert() in sparse code
[smatch.git] / validation / enum_scope.c
blob92ffc8ef5979e88aebca3bcb1da01084a913b256
1 enum {A = 12};
3 static void f(void)
5 enum {A = A + 1, B};
6 char s[1 - 2 * (B != 14)];
9 /*
10 * check-name: enumeration constants' scope [6.2.1p7]