diff options
Diffstat (limited to 'testsuite/tests/ghci/scripts/T11208.hs')
-rw-r--r-- | testsuite/tests/ghci/scripts/T11208.hs | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/testsuite/tests/ghci/scripts/T11208.hs b/testsuite/tests/ghci/scripts/T11208.hs new file mode 100644 index 0000000000..b6ddd167d5 --- /dev/null +++ b/testsuite/tests/ghci/scripts/T11208.hs @@ -0,0 +1,8 @@ +module T11208 where + +import qualified Prelude as P + +f n = n P.+ 1 + +g h (P.Just x) = P.Just (h x) +g _ P.Nothing = P.Nothing |