summaryrefslogtreecommitdiff
path: root/testsuite/tests/rename/should_compile/T4003A.hs
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/rename/should_compile/T4003A.hs')
-rw-r--r--testsuite/tests/rename/should_compile/T4003A.hs15
1 files changed, 15 insertions, 0 deletions
diff --git a/testsuite/tests/rename/should_compile/T4003A.hs b/testsuite/tests/rename/should_compile/T4003A.hs
new file mode 100644
index 0000000000..c17fbae456
--- /dev/null
+++ b/testsuite/tests/rename/should_compile/T4003A.hs
@@ -0,0 +1,15 @@
+{-# LANGUAGE DeriveDataTypeable #-}
+
+module T4003A where
+
+import T4003B
+
+import Data.Data
+
+data MyId = MyId
+ deriving (Data, Typeable)
+
+data HsExpr id
+ = HsOverLit (HsOverLit id)
+ | HsBracketOut (HsExpr MyId)
+ deriving (Data, Typeable)