OSDN Git Service
(root)
/
pf3gnuchains
/
gcc-fork.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
/cp
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
implicit6.C
1
// Circular implicit declarations were causing errors
2
// { dg-options -std=c++0x }
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;