Sign in
llvm
/
llvm-archive
/
4c0eaea2f24bb29c9834811d33e29a33d888873d
/
.
/
llvm-gcc-4.2
/
gcc
/
testsuite
/
g++.old-deja
/
g++.other
/
align.C
blob: a5269515c8db33ebad08fc5eeb27ed111cecb69a [
file
] [
log
] [
blame
]
// { dg-do assemble }
#include
<string.h>
class
bar
{
public
:
bar
()
{
rw
=
0
;
}
static
const
bar baz
;
private
:
unsigned
char
rw
;
};
char
buf
[
4096
];
void
foo
(
char
*
uc
)
{
memcpy
(
buf
,&
bar
::
baz
,
sizeof
(
bar
));
}