declare local variable at the start of a block in generated gem_test.c
Merge pull request #863 from nkshigeru/gemtest_for_vc

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