summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.law/init6.C
blob: 861b9252c957b51bab7399a44daab4ad5a52bfe6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// { dg-do assemble  }
// GROUPS passed initialization
class Vector {
        double  *v;
        int             size;

public:
        Vector(int n);
        ~Vector();
};

exmpl() { Vector x(8)[16]; }// { dg-error "" } .*