diff options
author | Simon Marlow <marlowsd@gmail.com> | 2012-05-22 07:25:43 -0500 |
---|---|---|
committer | Simon Marlow <marlowsd@gmail.com> | 2012-05-23 06:34:36 -0500 |
commit | 0a0087ad9e6080eb1f49e7c309c93360e5de695f (patch) | |
tree | f01924ce6ee0237b1e2554c746280e3c52b5468d | |
parent | ffe437269c54e2c947b414af117102558d2f84ab (diff) | |
download | haskell-0a0087ad9e6080eb1f49e7c309c93360e5de695f.tar.gz |
add test for #6105
-rw-r--r-- | testsuite/tests/ghci/scripts/T6105.hs | 2 | ||||
-rw-r--r-- | testsuite/tests/ghci/scripts/T6105.script | 3 | ||||
-rw-r--r-- | testsuite/tests/ghci/scripts/T6105.stdout | 4 | ||||
-rwxr-xr-x | testsuite/tests/ghci/scripts/all.T | 1 |
4 files changed, 10 insertions, 0 deletions
diff --git a/testsuite/tests/ghci/scripts/T6105.hs b/testsuite/tests/ghci/scripts/T6105.hs new file mode 100644 index 0000000000..a05f6132c4 --- /dev/null +++ b/testsuite/tests/ghci/scripts/T6105.hs @@ -0,0 +1,2 @@ +{-# OPTIONS_GHC -fforce-recomp #-} +module T6105 where diff --git a/testsuite/tests/ghci/scripts/T6105.script b/testsuite/tests/ghci/scripts/T6105.script new file mode 100644 index 0000000000..2bc15f43c5 --- /dev/null +++ b/testsuite/tests/ghci/scripts/T6105.script @@ -0,0 +1,3 @@ +:set -v1 +:load T6105.hs +:reload diff --git a/testsuite/tests/ghci/scripts/T6105.stdout b/testsuite/tests/ghci/scripts/T6105.stdout new file mode 100644 index 0000000000..73b6d2cdfb --- /dev/null +++ b/testsuite/tests/ghci/scripts/T6105.stdout @@ -0,0 +1,4 @@ +[1 of 1] Compiling T6105 ( T6105.hs, interpreted ) +Ok, modules loaded: T6105. +[1 of 1] Compiling T6105 ( T6105.hs, interpreted ) +Ok, modules loaded: T6105. diff --git a/testsuite/tests/ghci/scripts/all.T b/testsuite/tests/ghci/scripts/all.T index 1364784393..e0b7560281 100755 --- a/testsuite/tests/ghci/scripts/all.T +++ b/testsuite/tests/ghci/scripts/all.T @@ -128,3 +128,4 @@ test('T6027ghci', normal, ghci_script, ['T6027ghci.script']) test('T6007', normal, ghci_script, ['T6007.script']) test('T6091', normal, ghci_script, ['T6091.script']) test('T6106', extra_clean(['T6106.hs']), ghci_script, ['T6106.script']) +test('T6105', normal, ghci_script, ['T6105.script']) |