summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.other/crash5.C
blob: 07041029657a7eabeda2280f0646284ca8c03d92 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
// { dg-do assemble  }

class TecMesh {};

extern TecMesh& m;

struct X { 
  X(TecMesh&);
};

struct D  {
  D();
  TecMesh& Mesh;
};


D::D ()
  : Mesh(m)
{
  X x(D::Mesh);
}