summaryrefslogtreecommitdiff
path: root/ghc/compiler/tests
diff options
context:
space:
mode:
authorsof <unknown>1997-06-05 21:32:42 +0000
committersof <unknown>1997-06-05 21:32:42 +0000
commit2503f0e861c727bbee0abb37af69981bd02f973d (patch)
tree0e1319d967f705212189598de274d76a69939b4a /ghc/compiler/tests
parent8ecbfdb22c730ec76bee66202d36d4e6800c78f1 (diff)
downloadhaskell-2503f0e861c727bbee0abb37af69981bd02f973d.tar.gz
[project @ 1997-06-05 21:32:42 by sof]
new rn test
Diffstat (limited to 'ghc/compiler/tests')
-rw-r--r--ghc/compiler/tests/rename/rn018.hs9
-rw-r--r--ghc/compiler/tests/rename/rn018.stderr0
2 files changed, 9 insertions, 0 deletions
diff --git a/ghc/compiler/tests/rename/rn018.hs b/ghc/compiler/tests/rename/rn018.hs
new file mode 100644
index 0000000000..0c78946c17
--- /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 0000000000..e69de29bb2
--- /dev/null
+++ b/ghc/compiler/tests/rename/rn018.stderr