projects
/
ghc-hetmet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[project @ 2001-08-22 12:24:41 by simonmar]
[ghc-hetmet.git]
/
ghc
/
tests
/
typecheck
/
should_fail
/
tcfail084.hs
diff --git
a/ghc/tests/typecheck/should_fail/tcfail084.hs
b/ghc/tests/typecheck/should_fail/tcfail084.hs
deleted file mode 100644
(file)
index
22b5456
..0000000
--- a/
ghc/tests/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 }
-