aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.brendan/crash60.C
blob: b2af4310d1ba3752a9896ac20ee23597ff9e9394 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
// Build don't link: 
// 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) {}// ERROR - .*