polserver/testsuite/escript/const/const008-cannot-call-user-func.src
Eric Swanson d8ad58f64f
Update test suite for new compiler (#299)
* Update test suite:
- run test suite with both OG compiler and new compiler
- run compiler parity test against testsuite/escript
2020-09-11 01:38:39 -07:00

12 lines
124 B
Text

use math;
function foo()
return "hi";
endfunction
// this is not allowed:
const A := foo();
print(foo());
print(A);