blob: 31a1bb32f1af3e169dda9f8eed2dcfa615af0d9c [file] [log] [blame]
// PR c++/84767
// { dg-do compile }
// { dg-options "" }
int v[1][10];
struct A
{
A (int);
};
A::A (int i)
{
typedef int T[1][i];
T *x = (T *) v;
(*x)[0][0] = 0;
}
A a = 10;