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