math: fix an out of memory issue
[smatch.git] / validation / missing-ident.c
blobce73983dee3ec58ff25e60f58b71534959b75f32
1 int [2];
2 int *;
3 int (*);
4 int ();
5 int;
6 struct foo;
7 union bar {int x; int y;};
8 struct baz {int x, :3, y:2;};
9 /*
10 * check-name: handling of identifier-less declarations
12 * check-error-start
13 missing-ident.c:1:8: warning: missing identifier in declaration
14 missing-ident.c:2:6: warning: missing identifier in declaration
15 missing-ident.c:3:8: warning: missing identifier in declaration
16 missing-ident.c:4:7: warning: missing identifier in declaration
17 * check-error-end