declare local variable at the start of a block in generated gem_test.c