diff options
Diffstat (limited to 'testsuite/tests/rename/should_fail/rnfail013.hs')
-rw-r--r-- | testsuite/tests/rename/should_fail/rnfail013.hs | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/testsuite/tests/rename/should_fail/rnfail013.hs b/testsuite/tests/rename/should_fail/rnfail013.hs new file mode 100644 index 0000000000..4d30ded185 --- /dev/null +++ b/testsuite/tests/rename/should_fail/rnfail013.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 |