*new* check_macros: find macro precedence bugs
[smatch.git] / validation / field-overlap.c
blob15b974aa6bde4b0e0f036fdd86df483994d922ec
1 static struct {
2 int x;
3 struct {
4 int z;
5 int w;
6 } y;
7 } a = { .y.z = 1, .y.w = 2, };
9 static struct {int x, y, z;} w[2] = {
10 {.x = 1, .y = 2, .z = 3},
11 {.x = 1, .y = 2, .z = 3}