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