OSDN Git Service

2010-03-17 Tobias Burnus <burnus@net-b.de>
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / g++.dg / tree-ssa / pr24238.C
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 }