Debian Codegraph @

gcc/testsuite/g++.dg/tree-ssa/pr24238.C

raw
1 /* { dg-do compile } */
2 /* { dg-options "-O2" } */
3
4 typedef struct SDL_Rect {
5 unsigned short w, h;
6 }SDL_Rect;
7 SDL_Rect *location();
8 SDL_Rect inner_location()
9 {
10 SDL_Rect r = *location();
11 r.w -= 1;
12 return r;
13 }