diff options
-rw-r--r-- | testsuite/tests/ghci/scripts/T18755.script | 2 | ||||
-rw-r--r-- | testsuite/tests/ghci/scripts/T18755.stdout | 3 | ||||
-rwxr-xr-x | testsuite/tests/ghci/scripts/all.T | 1 |
3 files changed, 6 insertions, 0 deletions
diff --git a/testsuite/tests/ghci/scripts/T18755.script b/testsuite/tests/ghci/scripts/T18755.script new file mode 100644 index 0000000000..5ee4e9bdf4 --- /dev/null +++ b/testsuite/tests/ghci/scripts/T18755.script @@ -0,0 +1,2 @@ +:set -fprint-explicit-runtime-reps +:t ($) diff --git a/testsuite/tests/ghci/scripts/T18755.stdout b/testsuite/tests/ghci/scripts/T18755.stdout new file mode 100644 index 0000000000..c69cdfaf37 --- /dev/null +++ b/testsuite/tests/ghci/scripts/T18755.stdout @@ -0,0 +1,3 @@ +($) + :: forall (r :: GHC.Types.RuntimeRep) a (b :: TYPE r). + (a -> b) -> a -> b diff --git a/testsuite/tests/ghci/scripts/all.T b/testsuite/tests/ghci/scripts/all.T index df859c6c3a..e3a84eb764 100755 --- a/testsuite/tests/ghci/scripts/all.T +++ b/testsuite/tests/ghci/scripts/all.T @@ -320,3 +320,4 @@ test('T17549', normal, ghci_script, ['T17549.script']) test('T17669', [extra_run_opts('-fexternal-interpreter -fobject-code'), expect_broken(17669)], ghci_script, ['T17669.script']) test('T18501', normal, ghci_script, ['T18501.script']) test('T18644', normal, ghci_script, ['T18644.script']) +test('T18755', normal, ghci_script, ['T18755.script']) |