Added regression test for bug in C code generation.