summaryrefslogtreecommitdiff
path: root/testsuite/tests/printer/PprRecordDotSyntaxA.hs
blob: 907d6a23f68d1836c2303175dc7fa57c047c390b (plain)
1
2
3
4
5
6
module RecordDotSyntaxA where

data Foo = Foo { foo :: Int } deriving Show

n :: Foo
n = Foo {foo = 2}