aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.c-torture/compile/20021205-1.c
blob: 9c400cfac3aa280f60dbf0865e23ad6557022f87 (plain)
1
2
3
4
5
6
7
8
9
10
11
/* dg-do compile */
/* dg-options "-O3" */
typedef struct x x;
extern void *baz(char *);
struct x { char * (*bar) (int); };
static x **foo() { return ((x**)baz(0)); }
int xyzzy()
{
    baz((*foo())->bar(0));
    return 3;
}