2018-06-05 Richard Biener <rguenther@suse.de>
[official-gcc.git] / gcc / testsuite / gcc.dg / pr82809.c
blob9f74ee865349cdbeaba00ddb2989ec629dcf2fbb
1 /* { dg-do compile } */
2 /* { dg-options "-Ofast -fno-tree-dominator-opts" } */
4 struct locale_time_t
6 const char *abday[7];
7 const unsigned int *wabday[7];
8 };
10 static const unsigned int empty_wstr[1] = { 0 };
12 void
13 time_read (struct locale_time_t *time)
15 int cnt;
17 for (cnt=0; cnt < 7; cnt++)
19 time->abday[cnt] = "";
20 time->wabday[cnt] = empty_wstr;