All pastes #177346 Raw Edit

Untitled

public text v1 · immutable
#177346 ·published 2006-09-20 11:28 UTC
rendered paste body
struct foo
{
  int a, b;
};

#define FOO (struct foo) { 0, 1 }

int
bar (struct foo *x)
{
  printf ("%d %d\n", x->a, x->b);
  return 0;
}

struct foo baz = FOO;

int
main (void)
{
  bar (& FOO);
  bar (& baz);
}