| 1 |
// { dg-do assemble } |
| 2 |
// { dg-additional-options "-Wno-return-type" } |
| 3 |
// GROUPS passed initialization |
| 4 |
class Vector { |
| 5 |
double *v; |
| 6 |
int size; |
| 7 |
|
| 8 |
public: |
| 9 |
Vector(int n); |
| 10 |
~Vector(); |
| 11 |
}; |
| 12 |
|
| 13 |
exmpl() { Vector x(8)[16]; }// { dg-error "" } .* |
| 14 |
|