implied: use a time based timeout instead of counting ->nr_children
[smatch.git] / validation / old-initializer.c
blob48aeeaabd0469b2dc1db2ff2645f462ca3a0024a
1 struct s {
2 int i;
3 };
5 static struct s the_s = { i: 1 };
6 /*
7 * check-name: Old initializer
9 * check-error-start
10 old-initializer.c:5:27: warning: obsolete struct initializer, use C99 syntax
11 * check-error-end