summaryrefslogtreecommitdiff
path: root/testsuite/tests/ghc-api/exactprint/AddDecl1.expected.hs
blob: 88ef0fdd7def14a4833f6886c02227cd8a9b10fb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
module AddDecl where

nn = n2

-- Adding a declaration to an existing file

-- | Do foo
foo a b = a + b

-- | Do bar
bar x y = {- baz -} foo (x+y) x

-- end of file