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
* typeck2.c (abstract_virtual_errors): Reword diagnostics, make them
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
g++.old-deja
/
g++.other
/
anon8.C
1
// { dg-do assemble }
2
3
struct B
4
{
5
int a;
6
B & operator= (const B &);
7
};
8
9
struct A
10
{
11
union {
12
int a;
13
};
14
B b;
15
};
16
17
A x;
18
19
void foo (const A &y)
20
{
21
x = y;
22
}