summaryrefslogtreecommitdiff
path: root/testsuite/tests/ghci/T21390/Test.hs
blob: 692eac1555302d33961040cf66673927c2f725ab (plain)
1
2
3
4
5
6
7
8
module Test (mkTy) where

import Lib

-- The bytecode interpreter will fail to tag the Just correctly here.
mkTy :: Int -> Ty
mkTy n = Ty (Just (n+1))