gcc/testsuite/gcc.dg/vect/pr95856.c
raw| 1 | /* { dg-do compile } */ |
| 2 | |
| 3 | typedef struct { |
| 4 | float xmin, xmax; |
| 5 | } rctf; |
| 6 | |
| 7 | typedef struct { |
| 8 | rctf tot; |
| 9 | } View2D; |
| 10 | |
| 11 | View2D graph_main_area_draw_v2d; |
| 12 | |
| 13 | void get_graph_keyframe_extents(); |
| 14 | |
| 15 | void |
| 16 | graph_main_area_draw() { |
| 17 | get_graph_keyframe_extents(); |
| 18 | graph_main_area_draw_v2d.tot.xmin -= 10.0f; |
| 19 | graph_main_area_draw_v2d.tot.xmax += 10.0f; |
| 20 | } |