struct s
{
  int e;
} x;

struct rbuf
{
  struct s *p __attribute__ ((packed));
} *b;

f ()
{
  b->p = &x;
}


syntax highlighted by Code2HTML, v. 0.9.1