Pattern/expression ambiguity resolution
[ghc.git] / testsuite / tests / parser / should_fail / all.T
1
2 test('readFail001', normal, compile_fail, [''])
3 test('readFail002', normal, compile_fail, [''])
4 test('readFail003', normal, compile_fail, [''])
5 test('readFail004', normal, compile_fail, [''])
6 test('readFail005', normal, compile_fail, [''])
7 test('readFail006', normal, compile_fail, [''])
8 test('readFail007', normal, compile_fail, [''])
9 test('readFail008', normal, compile_fail, [''])
10 test('readFail009', normal, compile_fail, [''])
11 # test10: missing
12 test('readFail011', normal, compile_fail, [''])
13 test('readFail012', normal, compile_fail, [''])
14 test('readFail013', normal, compile_fail, [''])
15 test('readFail014', normal, compile_fail, [''])
16 test('readFail015', normal, compile_fail, [''])
17 test('readFail016', normal, compile_fail, [''])
18 test('readFail017', normal, compile_fail, [''])
19 test('readFail018', normal, compile_fail, [''])
20 test('readFail019', normal, compile_fail, [''])
21 test('readFail020', normal, compile_fail, [''])
22
23 # empty file (length zero) is not a legal Haskell module.  It fails to compile
24 # because it doesn't contain a definition of Main.main.  GHC 5.02 crashed
25 # on this example.
26 test('readFail021', normal, compile_fail, [''])
27
28 test('readFail022', normal, compile_fail, [''])
29 test('readFail023', normal, compile_fail, [''])
30 test('readFail024', normal, compile_fail, [''])
31 test('readFail025', normal, compile_fail, [''])
32 test('readFail026', normal, compile_fail, [''])
33 test('readFail027', normal, compile_fail, [''])
34 test('readFail028', normal, compile_fail, [''])
35 test('readFail029', normal, compile_fail, [''])
36 test('readFail030', normal, compile_fail, [''])
37 test('readFail031', normal, compile_fail, [''])
38 # N.B. readFail032 and readFail048 used to fail on Darwin
39 # due to a toolchain bug (#15662). This appears to be fixed in
40 # Mojave but will likely still fail on earlier releases.
41 test('readFail032', normal, compile_fail, ['-cpp'])
42 test('readFail033', normal, compile_fail, [''])
43 test('readFail034', normal, compile_fail, [''])
44 test('readFail035', normal, compile_fail, [''])
45 test('readFail036', normal, compile_fail, [''])
46 test('readFail037', normal, compile_fail, [''])
47 test('readFail038', normal, compile_fail, [''])
48 test('readFail039', normal, compile_fail, [''])
49 test('readFail040', normal, compile_fail, [''])
50 test('readFail041', normal, compile_fail, [''])
51 test('readFail042', normal, compile_fail, [''])
52 test('readFail043', normal, compile_fail, [''])
53 test('readFail044', normal, compile_fail, [''])
54 test('readFail046', normal, compile_fail, [''])
55 test('readFail047', normal, compile_fail, [''])
56 # See comment attached to readFail032 above.
57 test('readFail048', normal, compile_fail, ['-cpp -haddock'])
58 test('T3095', normal, compile_fail, [''])
59 test('T3153', normal, compile_fail, [''])
60 test('T3751', normal, compile_fail, [''])
61
62 test('position001', normal, compile_fail, [''])
63 test('position002', normal, compile_fail, ['-Wno-tabs'])
64
65 test('T1344a', normal, compile_fail, [''])
66 test('T1344b', normal, compile_fail, [''])
67 test('T1344c', normal, compile_fail, [''])
68 test('T3811', normal, compile_fail, [''])
69 test('T3811b', normal, compile_fail, [''])
70 test('T3811c', normal, compile_fail, [''])
71 test('T3811d', normal, compile_fail, [''])
72 test('T3811e', normal, compile_fail, [''])
73 test('T3811f', normal, compile_fail, [''])
74 test('T3811g', normal, compile_fail, [''])
75 test('NoDoAndIfThenElse', normal, compile_fail, [''])
76 test('NoPatternSynonyms', normal, compile_fail, [''])
77 test('NoBlockArgumentsFail', normal, compile_fail, [''])
78 test('NoBlockArgumentsFail2', normal, compile_fail, [''])
79 test('NoBlockArgumentsFail3', normal, compile_fail, [''])
80 test('NondecreasingIndentationFail', normal, compile_fail, [''])
81 test('readFailTraditionalRecords1', normal, compile_fail, [''])
82 test('readFailTraditionalRecords2', normal, compile_fail, [''])
83 test('readFailTraditionalRecords3', normal, compile_fail, [''])
84 test('ParserNoForallUnicode', normal, compile_fail, [''])
85 test('ParserNoLambdaCase', [], compile_fail, [''])
86 test('ParserNoMultiWayIf', [], compile_fail, [''])
87 test('ParserNoBinaryLiterals1', normal, compile_fail, [''])
88 test('ParserNoBinaryLiterals2', normal, compile_fail, [''])
89 test('ParserNoBinaryLiterals3', normal, compile_fail, [''])
90
91 test('T5425', normal, compile_fail, [''])
92 test('T984', normal, compile_fail, [''])
93 test('T7848', normal, compile_fail, ['-dppr-user-length=100'])
94 test('ExportCommaComma', normal, compile_fail, [''])
95 test('T8258NoGADTs', normal, compile_fail, [''])
96 test('T8430', literate, compile_fail, [''])
97 test('T8431', compile_timeout_multiplier(0.05),
98      compile_fail, ['-XAlternativeLayoutRule'])
99 test('T8506', normal, compile_fail, [''])
100 test('T9225', normal, compile_fail, [''])
101 test('T10196Fail1', normal, compile_fail, [''])
102 test('T10196Fail2', normal, compile_fail, [''])
103 test('T10498a', normal, compile_fail, [''])
104 test('T10498b', normal, compile_fail, [''])
105 test('T12051', normal, compile_fail, [''])
106 test('T12429', normal, compile_fail, [''])
107 test('T12811', normal, compile_fail, [''])
108 test('T13260', normal, compile_fail, [''])
109 test('T13414', literate, compile_fail, [''])
110 test('T8501a', normal, compile_fail, [''])
111 test('T8501b', normal, compile_fail, [''])
112 test('T8501c', normal, compile_fail, [''])
113 test('T12045d', normal, compile_fail, [''])
114 test('T12610', normal, compile_fail, [''])
115 test('T13450', normal, compile_fail, [''])
116 test('T13450TH', normal, compile_fail, [''])
117 test('T14588', normal, compile_fail, [''])
118 test('T14740', normal, compile_fail, [''])
119 test('T15209', normal, compile_fail, [''])
120
121 test('NoNumericUnderscores0', normal, compile_fail, [''])
122 test('NoNumericUnderscores1', normal, compile_fail, [''])
123 test('NumericUnderscoresFail0',
124      grep_errmsg(r'^NumericUnderscoresFail0.hs:'), compile_fail, [''])
125 test('NumericUnderscoresFail1',
126      grep_errmsg(r'^NumericUnderscoresFail1.hs:'), compile_fail, [''])
127
128 test('InfixAppPatErr', normal, compile_fail, [''])
129
130 test('typeops_A', normal, compile_fail, [''])
131 test('typeops_B', normal, compile_fail, [''])
132 test('typeops_C', normal, compile_fail, [''])
133 test('typeops_D', normal, compile_fail, [''])
134 test('T15053', normal, compile_fail, [''])
135 test('T15233', normal, compile_fail, [''])
136 test('T15849', normal, compile_fail, [''])
137 test('typeopsDataCon_A', normal, compile_fail, [''])
138 test('typeopsDataCon_B', normal, compile_fail, [''])
139 test('strictnessDataCon_A', normal, compile_fail, [''])
140 test('strictnessDataCon_B', normal, compile_fail, [''])
141 test('unpack_empty_type', normal, compile_fail, [''])
142 test('unpack_inside_type', normal, compile_fail, [''])
143 test('unpack_before_opr', normal, compile_fail, [''])
144 test('T16270', normal, compile_fail, [''])
145 test('T16270h', normal, compile_fail, [''])
146 test('cmdFail001', normal, compile_fail, [''])
147 test('cmdFail002', normal, compile_fail, [''])
148 test('cmdFail003', normal, compile_fail, [''])
149 test('cmdFail004', normal, compile_fail, [''])
150 test('cmdFail005', normal, compile_fail, [''])
151 test('cmdFail006', normal, compile_fail, [''])
152 test('cmdFail007', normal, compile_fail, [''])
153 test('cmdFail008', normal, compile_fail, [''])
154 test('cmdFail009', normal, compile_fail, [''])
155 test('patFail001', normal, compile_fail, [''])
156 test('patFail002', normal, compile_fail, [''])
157 test('patFail003', normal, compile_fail, [''])
158 test('patFail004', normal, compile_fail, [''])
159 test('patFail005', normal, compile_fail, [''])
160 test('patFail006', normal, compile_fail, [''])
161 test('patFail007', normal, compile_fail, [''])
162 test('patFail008', normal, compile_fail, [''])
163 test('patFail009', normal, compile_fail, [''])