aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/validation/Wuniv-init-ok.c
blob: c396475173233186172d8e81a6b0b5f9b1f59d09 (plain)
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
 */