summaryrefslogtreecommitdiff
path: root/testsuite/tests/ghc-regress/typecheck/should_fail/tcfail084.hs
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/ghc-regress/typecheck/should_fail/tcfail084.hs')
-rw-r--r--testsuite/tests/ghc-regress/typecheck/should_fail/tcfail084.hs11
1 files changed, 0 insertions, 11 deletions
diff --git a/testsuite/tests/ghc-regress/typecheck/should_fail/tcfail084.hs b/testsuite/tests/ghc-regress/typecheck/should_fail/tcfail084.hs
deleted file mode 100644
index 22b5456b1e..0000000000
--- a/testsuite/tests/ghc-regress/typecheck/should_fail/tcfail084.hs
+++ /dev/null
@@ -1,11 +0,0 @@
--- !!! Check that using a label belonging to another constructor
--- !!! is flagged as being incorrect.
-module ShouldFail where
-
-data F
- = F { x :: Int }
- | G { y :: Int }
-
-z :: F
-z = F { y = 2 }
-