repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
PR c++/86728 - C variadic generic lambda.
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
implicit6.C
blob
d3e85d0e73bd91edf1fba235b217d89d608f29e6
1
// Circular implicit declarations were causing errors
2
// { dg-do compile { target c++11 } }
3
4
struct Ray;
5
6
struct Vector
7
{
8
virtual void f(); // make non-trivially-copyable
9
Vector(const Ray &) ;
10
};
11
12
struct array
13
{
14
Vector v;
15
};
16
17
struct Ray
18
{
19
array a;
20
};
21
22
extern Ray r1;
23
Ray r2=r1;