CodeGen, example