summaryrefslogtreecommitdiff
path: root/testsuite/tests/typecheck/should_fail/T6001.hs
blob: fd918aa598a5bd47e848c0c2ed06f80505df59f2 (plain)
1
2
3
4
5
6
7
8
9
{-# LANGUAGE InstanceSigs #-}

module T6001 where

data DayKind = Work | Rest

instance Num DayKind where
  fromInteger :: Int -> DayKind
  fromInteger = undefined