diff options
Diffstat (limited to 'testsuite/tests/rename/should_compile/rn017.hs')
-rw-r--r-- | testsuite/tests/rename/should_compile/rn017.hs | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/testsuite/tests/rename/should_compile/rn017.hs b/testsuite/tests/rename/should_compile/rn017.hs new file mode 100644 index 0000000000..7d073e90ea --- /dev/null +++ b/testsuite/tests/rename/should_compile/rn017.hs @@ -0,0 +1,14 @@ +-- !! Rexporting +module Test ( module Test , module RnAux017 ) where + +import {-# SOURCE #-} RnAux017 + +f x = x + +data Foo = MkFoo + +class FOO a where + op :: a -> Int + +instance FOO Foo where + op x = 42 |