polserver/testsuite/escript/misc/block001.src
Gabriele Tozzi e085b218f6 Unit tests: full revision, now all run correctly
- Added missing ones
- Reviewed obsoleted ones
- Disabled/deleted unnecessary ones
- Added support for compile error checking
- Added support for run error checking
2015-12-19 05:31:23 +01:00

17 lines
294 B
Text

program test()
var a;
repeat
var b;
if (1)
var c;
var d;
break; // should leave block(3) and jump past 'until'
var e,f,g;
// here will leave block(5)
endif
var h; // should leave block(2)
until (0);
var g;
print("ok");
endprogram