projects
/
ghc-hetmet.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
4b9dbde226b743e5d51289bfcaa428d8269ff8b6
[ghc-hetmet.git]
/
ghc
/
compiler
/
tests
/
rename
/
rn020.hs
1
-- Duplicate fields in record decls
2
3
module OK where
4
5
data X = A {a :: Int} | B {a :: Int}
6
7
f x = x
8
9
-- data Y = V {a :: Int}
10
11
-- f y = y