#include #include struct t1 { int i1; double d1; }; struct t1 t; struct t1* testfunc(void) { struct t1 *t = (struct t1*) malloc(sizeof(struct t1)); t->i1 = 1234; t->d1 = 1.1; return t; }