polserver/testsuite/escript/_perf/perf003.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

11 lines
No EOL
149 B
Text

include "perf";
setup();
var i, x := 0;
for( i := 1; i <= PERF_ARRAY_SIZE; i := i + 1 )
x := x + i;
endfor
print( "X=" + x );
print( "done" );