aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/g++.old-deja/g++.brendan/crash60.C
blob: a59d72a7bf6d2a2bbda82fdcbcec9775595cf13f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
// { dg-do assemble  }
// GROUPS passed old-abort
class X
{
public:
    X ();
    int	f[4];
};

// Note that we mistakenly initialize the array data member as if it
// was scalar
X::X () : f (0) {}// { dg-error "" } .*