summaryrefslogtreecommitdiff
path: root/testsuite/tests/typecheck/should_fail/tcfail134.hs
blob: 467bffdad0319ae33089fc675528facd9eca8a2d (plain)
1
2
3
4
5
-- Class used as a type, recursively

module ShouldFail where

class XML a where toXML :: a -> XML