Sign in
llvm
/
llvm-archive
/
2daab64c45d5de588f673052552a44992cfe1157
/
.
/
llvm-gcc-4.2
/
gcc
/
testsuite
/
g++.old-deja
/
g++.other
/
union1.C
blob: 37424a1f4e464892bb04ba4a97ac804a756e7a02 [
file
] [
log
] [
blame
]
// { dg-do assemble }
class
A
{
private
:
int
myInt
;
public
:
A
&
operator
=
(
int
right
)
{
myInt
=
right
;
return
*
this
;}
};
union
B
{
char
f1
;
A f2
;
// { dg-bogus "" } non-copy assignment op is OK
};