rt_gccstream/gcc/testsuite/g++.dg/other/canon-31724.C

9 lines
124 B
C

struct ac {ac();};
ac spline_rep1(void)
{
typedef ac at[2];
ac * b = new ac[2];
at *a = (at*)b;
return (*a)[0];
}