diff --git a/TestSuite/CompilationSamples/foreachWithTypeByIntRange.pas b/TestSuite/CompilationSamples/foreachWithTypeByIntRange.pas new file mode 100644 index 000000000..41ed00cbc --- /dev/null +++ b/TestSuite/CompilationSamples/foreachWithTypeByIntRange.pas @@ -0,0 +1,7 @@ +function f := new IntRange(0,3); +function f1 := Lst(1,2,3); + +begin + foreach var i: integer in f do + Print(i) +end. \ No newline at end of file