ref: 2e89286f4ee1ef53e3acb6e4ef4b43909e9fc9e8
dir: /tests/execute/0159-typedef.c/
/* Taken from plan9 kernel */
typedef struct Clock0link Clock0link;
typedef struct Clock0link {
int (*clock)(void);
Clock0link* link;
} Clock0link;
int
f(void)
{
return 0;
}
Clock0link cl0 = {
.clock = f;
};
int
main(void)
{
return (*cl0.clock)();
}