summaryrefslogtreecommitdiff
path: root/testsuite/tests/parser/should_fail/readFail004.hs
blob: f5e1fb4304502d32269a5e664a0e306560cd2756 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
-- !!! string gaps
-- !!!
module Main(main) where

-----------

main = putStr "\

\Some girls give me money\n\

\Some girls buy me clothes\n\

\..."

-----------

main2 = putStr "\
\ \
..."

-----------

main3 = putStr "\

\Some girls give me money\n\
-- and here is a comment
\Some girls buy me clothes\n\

\..."

-----------

main3 = putStr "\
{-
    and here is a nested {- comment -}
-}
\Some girls give me money\n\

\Some girls buy me clothes\n\

\..."