OSDN Git Service
(root)
/
pf3gnuchains
/
gcc-fork.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
fix
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
g++.old-deja
/
g++.other
/
align.C
1
// Build don't link:
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
}