summaryrefslogtreecommitdiff
path: root/testsuite/tests/typecheck/should_fail/tcfail047.hs
blob: 7c31e33197292aa81a5930750bc9350942fff865 (plain)
1
2
3
4
5
6
7
8
{-# LANGUAGE Haskell2010 #-}
module ShouldFail where

class A a where
 op1 :: a -> a

instance A (a,(b,c)) where
 op1 a = a