diff options
Diffstat (limited to 'testsuite/tests/ghci/scripts')
-rw-r--r-- | testsuite/tests/ghci/scripts/T20217.hs | 3 | ||||
-rw-r--r-- | testsuite/tests/ghci/scripts/T20217.script | 4 | ||||
-rw-r--r-- | testsuite/tests/ghci/scripts/T20217.stdout | 5 | ||||
-rw-r--r-- | testsuite/tests/ghci/scripts/T20217A.hs | 1 | ||||
-rw-r--r-- | testsuite/tests/ghci/scripts/T20217A.hs-boot | 1 | ||||
-rwxr-xr-x | testsuite/tests/ghci/scripts/all.T | 1 |
6 files changed, 15 insertions, 0 deletions
diff --git a/testsuite/tests/ghci/scripts/T20217.hs b/testsuite/tests/ghci/scripts/T20217.hs new file mode 100644 index 0000000000..4529633222 --- /dev/null +++ b/testsuite/tests/ghci/scripts/T20217.hs @@ -0,0 +1,3 @@ +module T20217 where + +import {-# SOURCE #-} T20217A diff --git a/testsuite/tests/ghci/scripts/T20217.script b/testsuite/tests/ghci/scripts/T20217.script new file mode 100644 index 0000000000..27bffe4e61 --- /dev/null +++ b/testsuite/tests/ghci/scripts/T20217.script @@ -0,0 +1,4 @@ +:set -fno-code +:set -v1 +:l T20217 +:r diff --git a/testsuite/tests/ghci/scripts/T20217.stdout b/testsuite/tests/ghci/scripts/T20217.stdout new file mode 100644 index 0000000000..fa229321bf --- /dev/null +++ b/testsuite/tests/ghci/scripts/T20217.stdout @@ -0,0 +1,5 @@ +[1 of 3] Compiling T20217A[boot] ( T20217A.hs-boot, nothing ) +[2 of 3] Compiling T20217 ( T20217.hs, nothing ) +[3 of 3] Compiling T20217A ( T20217A.hs, nothing ) +Ok, three modules loaded. +Ok, three modules loaded. diff --git a/testsuite/tests/ghci/scripts/T20217A.hs b/testsuite/tests/ghci/scripts/T20217A.hs new file mode 100644 index 0000000000..326b0d7607 --- /dev/null +++ b/testsuite/tests/ghci/scripts/T20217A.hs @@ -0,0 +1 @@ +module T20217A where x = x diff --git a/testsuite/tests/ghci/scripts/T20217A.hs-boot b/testsuite/tests/ghci/scripts/T20217A.hs-boot new file mode 100644 index 0000000000..c4c1f8a75b --- /dev/null +++ b/testsuite/tests/ghci/scripts/T20217A.hs-boot @@ -0,0 +1 @@ +module T20217A where diff --git a/testsuite/tests/ghci/scripts/all.T b/testsuite/tests/ghci/scripts/all.T index d8c80e9543..c47b3b0569 100755 --- a/testsuite/tests/ghci/scripts/all.T +++ b/testsuite/tests/ghci/scripts/all.T @@ -346,3 +346,4 @@ test('T19650', test('T20019', normal, ghci_script, ['T20019.script']) test('T20101', normal, ghci_script, ['T20101.script']) test('T20206', normal, ghci_script, ['T20206.script']) +test('T20217', normal, ghci_script, ['T20217.script']) |