blob: 4afc0f527e8f5213628212b988e4ebd8d7b461c3 (
plain)
1
2
3
4
5
6
7
|
{-# LANGUAGE Haskell2010 #-}
module ShouldFail where
-- Without any extensions enabled both of these should fail
newtype N1 = N1 Int deriving ( Enum )
data N2 = N2 Int deriving ( Enum )
|