diff options
Diffstat (limited to 'testsuite/tests/array/should_run/arr006.hs')
-rw-r--r-- | testsuite/tests/array/should_run/arr006.hs | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/testsuite/tests/array/should_run/arr006.hs b/testsuite/tests/array/should_run/arr006.hs new file mode 100644 index 0000000000..52d21c6f3d --- /dev/null +++ b/testsuite/tests/array/should_run/arr006.hs @@ -0,0 +1,11 @@ +-- !!! Array - empty arrays +-- +-- print a couple of them to try to expose empty arrays +-- to a GC or two. +import Data.Array + +main = + let + a1 = array (1,0) [] + in + print (take 300 $ repeat (a1 :: Array Int Int)) |