1 2 3 4 5 6 7 8 9 10 11
struct s { void *ptr; }; static struct s s = { 0 }; /* * check-name: univ-init-ok * check-command: sparse -Wno-universal-initializer $file */