Testing struct and undef generation.