Skip to content
Snippets Groups Projects
Commit 4d5cd183 authored by Simon Marlow's avatar Simon Marlow
Browse files

[project @ 1999-06-15 10:23:38 by simonmar]

Test for Richard Reid's bug:  syntax C{} for constructing C with all fields set
to bottom.
parent a0dd958a
No related merge requests found
......@@ -5,6 +5,7 @@ include $(TOP)/mk/should_run.mk
HC_OPTS += -dcore-lint
dsrun005_RUNTEST_OPTS = -x 1
dsrun007_RUNTEST_OPTS = -x 1
include $(TOP)/mk/target.mk
......
data T = C Int
unpick (C i) = i + 1
main = print (unpick (C{}))
\ No newline at end of file
Fail: dsrun007.hs:5: Missing field in record construction
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment