summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.brendan/crash12.C
blob: 362f1f715827e8b6feeb65abb4e632cfed3c4f16 (plain)
1
2
3
4
5
6
7
8
9
10
// { dg-do assemble  }
// GROUPS passed old-abort
class X
{
        int i;
public:
        X(int j);
}

X *x = new X[10]();// { dg-error "" } .*