diff --git a/ghc/compiler/tests/rename/rn018.hs b/ghc/compiler/tests/rename/rn018.hs
new file mode 100644
index 0000000000000000000000000000000000000000..0c78946c179ce056726d4cc5e18cdac416711ba0
--- /dev/null
+++ b/ghc/compiler/tests/rename/rn018.hs
@@ -0,0 +1,9 @@
+--!!! Conflicting constructors from two data type decls
+
+module Foo where
+
+data T1 = MkT Int
+
+data T2 = MkT Bool
+
+f (MkT x) = x
diff --git a/ghc/compiler/tests/rename/rn018.stderr b/ghc/compiler/tests/rename/rn018.stderr
new file mode 100644
index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391