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

-- test error message: should complain about an occurs check

import Data.Coerce

foo = coerce `asTypeOf` head