typedef struct { int part1, part2 ; } mytype ; mytype foo () { mytype x ; x.part1 = 7 ; x.part2 = 9 ; return x ; }