1 extern int printf(const char*, ...);
5 void fred$
(struct fred
* this)
10 struct __attribute__((__cleanup__(fred$
))) fred
18 struct fred
__attribute__((__cleanup__(fred$
))) bloggs
;
23 printf("%d\n", bloggs
.boris
);
24 printf("%d\n", bloggs
.natasha
);
28 jones
[0].natasha
= 34;
30 jones
[1].natasha
= 78;
32 printf("%d\n", jones
[0].boris
);
33 printf("%d\n", jones
[0].natasha
);
34 printf("%d\n", jones
[1].boris
);
35 printf("%d\n", jones
[1].natasha
);