repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
2003-12-26 Guilhem Lavaux <guilhem@kaffe.org>
[official-gcc.git]
/
gcc
/
testsuite
/
g++.old-deja
/
g++.other
/
align.C
blob
a5269515c8db33ebad08fc5eeb27ed111cecb69a
1
// { dg-do assemble }
2
#include <string.h>
3
4
class bar {
5
public:
6
bar() { rw = 0; }
7
static const bar baz;
8
private:
9
unsigned char rw;
10
};
11
char buf[4096];
12
void foo(char *uc)
13
{
14
memcpy(buf,&bar::baz,sizeof(bar));
15
}