[project @ 1997-06-05 21:32:42 by sof]
[ghc-hetmet.git] / ghc / compiler / tests / rename / rn018.hs
diff --git a/ghc/compiler/tests/rename/rn018.hs b/ghc/compiler/tests/rename/rn018.hs
new file mode 100644 (file)
index 0000000..0c78946
--- /dev/null
@@ -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