summaryrefslogtreecommitdiff
path: root/testsuite/tests/typecheck/should_compile/T15839b.hs
blob: 02b9bfbd9bd63d8847516e9f215f3ba95a8cf487 (plain)
1
2
3
4
5
6
7
8
{-# LANGUAGE DeriveAnyClass, GeneralizedNewtypeDeriving #-}

{-# OPTIONS_GHC -Wno-deriving-defaults #-}

module T15839a () where

class C a
newtype T a = MkT a deriving C