projects
/
ghc-hetmet.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
fddf19499e91c57978ed9c73ed13b0987f35fab8
[ghc-hetmet.git]
/
ghc
/
tests
/
deSugar
/
should_compile
/
ds044.hs
1
-- !!! Use of empty record patterns for constructors
2
-- !!! that don't have any labelled fields. According
3
-- !!! to the report, this isn't illegal.
4
module ShouldCompile where
5
6
data F = F Int Int
7
| G
8
9
isF F{} = True
10
isF _ = False