summaryrefslogtreecommitdiff
path: root/testsuite/tests/ghc-regress/typecheck/should_fail/tcfail148.hs
blob: d80db2ccf5e54e740baf40c6ed02023c9de117b8 (plain)
1
2
3
4
5
6
7
8
-- This one caused a panic in GHC 6.4

module Foo1 where

data List elem = Cons elem List | Nil

t1 :: List
t1 = Cons 1 Nil