diff options
Diffstat (limited to 'testsuite/tests/rename/should_compile/rn024.hs')
-rw-r--r-- | testsuite/tests/rename/should_compile/rn024.hs | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/testsuite/tests/rename/should_compile/rn024.hs b/testsuite/tests/rename/should_compile/rn024.hs new file mode 100644 index 0000000000..ae9cc6b4f0 --- /dev/null +++ b/testsuite/tests/rename/should_compile/rn024.hs @@ -0,0 +1,9 @@ +-- !! This is fine in Haskell 1.4 +-- +module Foo ( Baz(..) ) where + +class Baz a where + opx :: Int -> Bar -> a -> a + +data Bar = Bar X +data X = Y |