2003-12-26 Guilhem Lavaux <guilhem@kaffe.org>
[official-gcc.git] / gcc / testsuite / g++.old-deja / g++.other / align.C
bloba5269515c8db33ebad08fc5eeb27ed111cecb69a
1 // { dg-do assemble  }
2 #include <string.h>
4 class bar {
5 public:
6     bar() { rw = 0; }
7     static const bar baz;
8 private:
9     unsigned char rw;
11 char buf[4096];
12 void foo(char *uc)
14     memcpy(buf,&bar::baz,sizeof(bar));