Merge from mainline (167278:168000).
[official-gcc/graphite-test-results.git] / gcc / testsuite / gcc.dg / graphite / id-17.c
blobc93c211e459a96f1b025dc2d39ccce0cf1a9a49b
1 typedef struct
3 int offset_for_ref_frame[256];
4 } seq_parameter_set_rbsp_t;
6 typedef struct
8 unsigned int num_ref_frames_in_pic_order_cnt_cycle;
9 int offset_for_ref_frame[1];
10 int auto_crop_right;
11 } ImageParameters;
13 ImageParameters *img;
15 void GenerateSequenceParameterSet(seq_parameter_set_rbsp_t *sps)
17 unsigned i;
18 for (i=0; i<img->num_ref_frames_in_pic_order_cnt_cycle; i++)
19 sps->offset_for_ref_frame[i] = img->offset_for_ref_frame[i];
20 error("foo");