aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/g++.dg/other/canon-31724.C
blob: 1a39f78a0979c2c33fc58de0addb19a9412e77d4 (plain)
1
2
3
4
5
6
7
8
struct ac {ac();};
ac  spline_rep1(void)
{
  typedef ac at[2];
  ac * b = new ac[2];
  at *a =  (at*)b;
  return (*a)[0];
}