• source navigation  • diff markup  • identifier search  • freetext search  • 

Sources/ucode/tests/custom/99_bugs/26_compiler_jmp_to_zero

  1 When compiling certain expressions as first statement of an ucode
  2 program, e.g. a while loop in raw mode, a jump instruction to offset
  3 zero is emitted which was incorrectly treated as placeholder by the
  4 compiler.
  5 
  6 -- Testcase --
  7 while (i++ < 1)
  8         print("Test\n");
  9 -- End --
 10 
 11 -- Args --
 12 -R
 13 -- End --
 14 
 15 -- Expect stdout --
 16 Test
 17 -- End --

This page was automatically generated by LXR 0.3.1.  •  OpenWrt