☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
g++.old-deja
/
g++.other
/
align.C
☽
☼
gcc/testsuite/g++.old-deja/g++.other/align.C
code
plain
raw
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
}