summaryrefslogtreecommitdiff
path: root/testsuite/tests/typecheck/should_fail/T2354.hs
blob: 7bc1d40b725053a20f24262e4bdc9a33d38d56af (plain)
1
2
3
4
5
6
7
module T2354(test) where 
 
class AsInt a where 
  {-# NOINLINE toInt #-} 
  toInt   :: a -> Int 
  {-# NOINLINE fromInt #-} 
  fromInt :: Int -> a