diff options
Diffstat (limited to 'testsuite/tests/parser/should_compile/read057.hs')
-rw-r--r-- | testsuite/tests/parser/should_compile/read057.hs | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/testsuite/tests/parser/should_compile/read057.hs b/testsuite/tests/parser/should_compile/read057.hs new file mode 100644 index 0000000000..f2cf84b3b5 --- /dev/null +++ b/testsuite/tests/parser/should_compile/read057.hs @@ -0,0 +1,11 @@ + +{-# LANGUAGE GeneralizedNewtypeDeriving #-} + +module Foo where + +class C a +instance C Int + +newtype Foo = Foo Int + deriving C + |