summaryrefslogtreecommitdiff
path: root/testsuite/tests/parser/should_fail/readFail039.hs
blob: 4aa2ff8d7fe07907d54b04c21dc697a3f2bfae43 (plain)
1
2
3
4
5
6
7
8
9
10
{-# LANGUAGE Haskell2010 #-}

module Foo where

class C a
instance C Int

newtype Foo = Foo Int
    deriving C