packages feed

haskell-language-server-2.7.0.0: plugins/hls-class-plugin/test/testdata/Ticket3942one.hs

{-# LANGUAGE DeriveAnyClass #-}

module Ticket3942one where

class C a where
  foo :: a -> Int

newtype Foo = MkFoo Int deriving (C)
instance Show Foo where


main :: IO ()
main = return ()