Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Glasgow Haskell Compiler
GHC
Commits
5d680ce4
Commit
5d680ce4
authored
Dec 21, 2001
by
simonmar
Browse files
[project @ 2001-12-21 10:23:52 by simonmar]
Add test for record declaration with zero fields.
parent
b7d8b035
Changes
2
Hide whitespace changes
Inline
Side-by-side
testsuite/tests/ghc-regress/parser/should_compile/all.T
View file @
5d680ce4
...
...
@@ -38,3 +38,4 @@ test "read028" { vtc("") }
test
"
read029
"
{
vtc
("")
}
test
"
read030
"
{
vtc
("")
}
test
"
read031
"
{
vtc
("")
}
test
"
read032
"
{
vtc
("")
}
testsuite/tests/ghc-regress/parser/should_compile/read032.hs
0 → 100644
View file @
5d680ce4
module
ShouldCompile
where
-- !!! Record declarations with zero fields are allowed
data
Foo
=
Foo
{}
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment