[project @ 2001-08-22 11:45:06 by sewardj]
[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