projects
/
ghc-hetmet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[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
+++ 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