1// Circular implicit declarations were causing errors
2// { dg-do compile { target c++11 } }
3
4struct Ray;
5
6struct Vector
7{
8  virtual void f();		// make non-trivially-copyable
9  Vector(const Ray &) ;
10};
11
12struct array
13{
14  Vector v;
15};
16
17struct Ray
18{
19  array a;
20};
21
22extern Ray r1;
23Ray r2=r1;
24