diff --git a/test/good/array_fill.ept b/test/good/array_fill.ept new file mode 100644 index 0000000..3cac5b9 --- /dev/null +++ b/test/good/array_fill.ept @@ -0,0 +1,16 @@ +const n : int = 33 + +node stopbb(shiftenable : bool) returns (dataout : bool^n) +var last dataint : bool^n = false^n; +let + dataout = (false^n) fby dataint; + switch shiftenable + | true do dataint = [true] @ dataout[0 .. n - 2]; + | false do + end +tel + +node main() returns (dataout : bool^n) +let + dataout = stopbb(true); +tel