summaryrefslogtreecommitdiff
path: root/testsuite/tests/typecheck/should_fail/T19346.hs
blob: c2e7ea4722e8657393441d22497d22bde1f08945 (plain)
1
2
3
4
5
6
7
8
9
module T19346 where

data T = MkT Int

f :: Bool -> T
f x = MkT x

-- Produced a bad error message when compiled with
--   -fprint-typechecker-elaboration