| 1 |
/* { dg-do compile } */ |
| 2 |
/* { dg-options "-Wno-old-style-definition --param ipa-cp-value-list-size=0 -Os -fno-inline" } */ |
| 3 |
|
| 4 |
struct _wincore |
| 5 |
{ |
| 6 |
int y; |
| 7 |
int width; |
| 8 |
}; |
| 9 |
int a; |
| 10 |
void fn2 (void); |
| 11 |
static int fn1 (dpy, winInfo) struct _XDisplay *dpy; |
| 12 |
struct _wincore *winInfo; |
| 13 |
{ |
| 14 |
a = winInfo->width; |
| 15 |
fn2 (); |
| 16 |
} |
| 17 |
|
| 18 |
void fn4 (int, int, int); |
| 19 |
static int fn3 (dpy, winInfo, visrgn) struct _XDisplay *dpy; |
| 20 |
int winInfo, visrgn; |
| 21 |
{ |
| 22 |
int b = fn1 (0, winInfo); |
| 23 |
fn4 (0, 0, visrgn); |
| 24 |
} |
| 25 |
|
| 26 |
int |
| 27 |
fn5 (event) struct _XEvent *event; |
| 28 |
{ |
| 29 |
fn3 (0, 0, 0); |
| 30 |
} |