polserver/testsuite/escript/errors/errors002-var-same-name-as-function.src

6 lines
176 B
Text

// reported in https://forums.polserver.com/viewtopic.php?f=54&t=6140
// variable with the same name as a system function:
if (1)
var print := 3;
print( print );
endif