OSDN Git Service

PR c/38483
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / gcc.c-torture / execute / 20080117-1.c
1 typedef struct gs_imager_state_s {
2   struct {
3     int half_width;
4     int cap;
5     float miter_limit;
6   } line_params;
7 } gs_imager_state;
8 static const gs_imager_state gstate_initial = { { 1 } };
9 void gstate_path_memory(gs_imager_state *pgs) {
10   *pgs = gstate_initial;
11 }
12 int gs_state_update_overprint(void)
13 {
14   return gstate_initial.line_params.half_width;
15 }
16
17 extern void abort (void);
18 int main()
19 {
20   if (gs_state_update_overprint() != 1)
21     abort ();
22   return 0;
23 }
24