6 static struct s s
= { 0 };
9 static int c
= { 1, 2 };
10 static struct s
*ptr
= { 0 };
18 static struct o o
= { 0 };
21 * check-name: univ-init-ok
22 * check-command: sparse -Wno-universal-initializer $file
25 Wuniv-init-ok.c:8:16: error: invalid initializer
26 Wuniv-init-ok.c:9:16: error: invalid initializer
27 Wuniv-init-ok.c:10:26: warning: Using plain integer as NULL pointer