summaryrefslogtreecommitdiff
path: root/testsuite/tests/array/should_run/arr001.hs
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/array/should_run/arr001.hs')
-rw-r--r--testsuite/tests/array/should_run/arr001.hs9
1 files changed, 9 insertions, 0 deletions
diff --git a/testsuite/tests/array/should_run/arr001.hs b/testsuite/tests/array/should_run/arr001.hs
new file mode 100644
index 0000000000..325ce1bc09
--- /dev/null
+++ b/testsuite/tests/array/should_run/arr001.hs
@@ -0,0 +1,9 @@
+-- !!! Simple array creation
+
+import Data.Array
+
+main =
+ let a1 = array (1,3) (zip [2,3,1] ['a'..'d']) in
+ print a1
+
+-- Result: