summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.ext/array2.C
blob: 88482fe19d9e735bbd81c1a68f2564fb1c98882c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// { dg-do assemble  }
// { dg-options "-w" }
// This testcase used to cause a crash on the Alpha.

struct A {
  int i;
  ~A() { }
};

A f (int n)
{
  A a[n];
}