summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.ext/array3.C
blob: b60b407c89b6ce8250ae318262832fcb9844f516 (plain)
1
2
3
4
5
6
7
8
9
10
// { dg-do assemble  }
// { dg-options "" }
// Origin: Mark Mitchell <mark@codesourcery.com>

void *vp;

void f ()
{
  int i = (*((int (*)[i]) vp))[0];
}