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

class C a where
  op :: a -> ()

f x = op [x]