[project @ 1997-07-26 23:33:04 by sof]
[ghc-hetmet.git] / ghc / tests / rename / should_fail / rnfail013.hs
diff --git a/ghc/tests/rename/should_fail/rnfail013.hs b/ghc/tests/rename/should_fail/rnfail013.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