diff options
Diffstat (limited to 'testsuite/tests/lib/Data.Ix')
-rw-r--r-- | testsuite/tests/lib/Data.Ix/Makefile | 3 | ||||
-rw-r--r-- | testsuite/tests/lib/Data.Ix/all.T | 1 | ||||
-rw-r--r-- | testsuite/tests/lib/Data.Ix/ix001.hs | 4 | ||||
-rw-r--r-- | testsuite/tests/lib/Data.Ix/ix001.stdout | 1 |
4 files changed, 9 insertions, 0 deletions
diff --git a/testsuite/tests/lib/Data.Ix/Makefile b/testsuite/tests/lib/Data.Ix/Makefile new file mode 100644 index 0000000000..9101fbd40a --- /dev/null +++ b/testsuite/tests/lib/Data.Ix/Makefile @@ -0,0 +1,3 @@ +TOP=../../.. +include $(TOP)/mk/boilerplate.mk +include $(TOP)/mk/test.mk diff --git a/testsuite/tests/lib/Data.Ix/all.T b/testsuite/tests/lib/Data.Ix/all.T new file mode 100644 index 0000000000..972be5dc08 --- /dev/null +++ b/testsuite/tests/lib/Data.Ix/all.T @@ -0,0 +1 @@ +test('ix001', normal, compile_and_run, ['']) diff --git a/testsuite/tests/lib/Data.Ix/ix001.hs b/testsuite/tests/lib/Data.Ix/ix001.hs new file mode 100644 index 0000000000..c723472bce --- /dev/null +++ b/testsuite/tests/lib/Data.Ix/ix001.hs @@ -0,0 +1,4 @@ +import Data.Ix +import Data.Int + +main = print (index (minBound::Int16,maxBound) maxBound) diff --git a/testsuite/tests/lib/Data.Ix/ix001.stdout b/testsuite/tests/lib/Data.Ix/ix001.stdout new file mode 100644 index 0000000000..7a53b35687 --- /dev/null +++ b/testsuite/tests/lib/Data.Ix/ix001.stdout @@ -0,0 +1 @@ +65535 |