Sign in
gnu
/
gcc
/
8353b540e6bf07bc4de944da9c3772c619f86a9c
/
.
/
gcc
/
testsuite
/
g++.old-deja
/
g++.other
/
union1.C
blob: 6573b4d055f0b5a48eefe2c6d341a9e1248176c7 [
file
] [
log
] [
blame
]
// Build don't link:
class
A
{
private
:
int
myInt
;
public
:
A
&
operator
=
(
int
right
)
{
myInt
=
right
;
return
*
this
;}
};
union
B
{
char
f1
;
A f2
;
// gets bogus error - non-copy assignment op is OK
};