aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/c-c++-common/pr84305.c
blob: 27150dd5328d64f893ca3b2a44886e3d7fb66350 (plain)
1
2
3
4
5
6
// { dg-additional-options -O3 }

int res, a, b;
void *foo;
static void f2 (int arg) { res = ((int (*)[arg][b]) foo)[0][0][0]; }
void f1 (void) { f2 (a); }