emit var decls separately. test3-D compiles