summaryrefslogtreecommitdiff
path: root/testsuite/tests/typecheck/should_fail/tcfail117.hs
blob: 2a5ae9917297d430d18bb257ddd951b5a73b7c4d (plain)
1
2
3
4
5
6
module ShouldFail where

-- Without any extensions enabled both of these should fail

newtype N1 = N1 Int deriving ( Enum )
data    N2 = N2 Int deriving ( Enum )