summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.wendy/gnu4.c
blob: e8d2af992f6efc528693fcceb9fc273f3397dda7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
struct s {int x[5];};
main()
{
        struct s {struct s *next; int i;};
	static struct s sa[2];
 
        /* bar(sa[0].next->x[4]); */
	printf("Test passed (if it compiled)\n");
	exit(0);
        bar(sa[0].next->i);
}

bar(i)
int i;
{}