diff options
author | Joachim Breitner <mail@joachim-breitner.de> | 2014-03-16 17:12:58 +0100 |
---|---|---|
committer | Joachim Breitner <mail@joachim-breitner.de> | 2014-03-16 17:12:58 +0100 |
commit | 014223745186fc0ca6afb9938227df9ce7d28b38 (patch) | |
tree | 31e3447e8e84d1f0678ecba1339ef444c80edd48 /testsuite | |
parent | 7602bd4de901e4304a3a45dca08fc630d1bb5bf2 (diff) | |
download | haskell-014223745186fc0ca6afb9938227df9ce7d28b38.tar.gz |
Test case: :info Coercible in GHCi
This prepares against future breakage, especially if #8894 is tackled.
Diffstat (limited to 'testsuite')
-rwxr-xr-x | testsuite/tests/ghci/scripts/all.T | 1 | ||||
-rw-r--r-- | testsuite/tests/ghci/scripts/ghci059.script | 6 |
2 files changed, 7 insertions, 0 deletions
diff --git a/testsuite/tests/ghci/scripts/all.T b/testsuite/tests/ghci/scripts/all.T index 06c07162f9..6812c9d644 100755 --- a/testsuite/tests/ghci/scripts/all.T +++ b/testsuite/tests/ghci/scripts/all.T @@ -167,4 +167,5 @@ test('T8649', normal, ghci_script, ['T8649.script']) test('T8674', normal, ghci_script, ['T8674.script']) test('T8696', normal, ghci_script, ['T8696.script']) test('T8776', normal, ghci_script, ['T8776.script']) +test('ghci059', normal, ghci_script, ['ghci059.script']) diff --git a/testsuite/tests/ghci/scripts/ghci059.script b/testsuite/tests/ghci/scripts/ghci059.script new file mode 100644 index 0000000000..a78be192d8 --- /dev/null +++ b/testsuite/tests/ghci/scripts/ghci059.script @@ -0,0 +1,6 @@ +# At one point, :info Coercible would not report it as a constraint, but as a +# data type. So this test case ensures that this is broken later. + +:m + Data.Coerce +:info Coercible +:info coerce |