2018-01-24 Richard Biener <rguenther@suse.de>
[official-gcc.git] / gcc / testsuite / gcc.dg / pr60647-1.c
blob99f5919c34c8f62240bc0f6cec1a638760146a54
1 /* { dg-do compile } */
2 /* { dg-options "-O2" } */
4 struct _wincore
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;
14 a = winInfo->width;
15 fn2 ();
18 void fn4 (int, int, int);
19 static int fn3 (dpy, winInfo, visrgn) struct _XDisplay *dpy;
20 int winInfo, visrgn;
22 int b = fn1 (0, winInfo);
23 fn4 (0, 0, visrgn);
26 int
27 fn5 (event) struct _XEvent *event;
29 fn3 (0, 0, 0);