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

7 lines
174 B
Text
Raw Permalink Normal View History

// 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