summaryrefslogtreecommitdiff
path: root/ghc/compiler/tests/rename/rn017.hs
diff options
context:
space:
mode:
Diffstat (limited to 'ghc/compiler/tests/rename/rn017.hs')
-rw-r--r--ghc/compiler/tests/rename/rn017.hs13
1 files changed, 13 insertions, 0 deletions
diff --git a/ghc/compiler/tests/rename/rn017.hs b/ghc/compiler/tests/rename/rn017.hs
new file mode 100644
index 0000000000..3adc45fd67
--- /dev/null
+++ b/ghc/compiler/tests/rename/rn017.hs
@@ -0,0 +1,13 @@
+module Test ( Test.. , Rn017.. ) where
+
+import Rn017
+
+f x = x
+
+data Foo = MkFoo
+
+class FOO a where
+ op :: a -> Int
+
+instance FOO Foo where
+ op x = 42