Handle hs-boot files in -Wmissing-home-modules (#16551)
[ghc.git] / testsuite / tests / warnings / should_compile / all.T
1 # -fwarn-missing-exported-signatures should take precedence over -fwarn-missing-signatures
2 test('T2526', normal, compile, ['-fwarn-missing-signatures -fwarn-missing-exported-signatures'])
3 test('T9178', [], multimod_compile, ['T9178', '-Wall'])
4
5 # T9230.hs contains a tab charater. Test that -Wtabs is enabled by default.
6 test('T9230', normal, compile, [''])
7
8 test('T10908', normal, compile, [''])
9 test('T10930', normal, compile, [''])
10 test('T10930b', normal, compile, [''])
11 test('T11077', normal, compile, ['-fwarn-missing-exported-signatures'])
12 test('T13256', normal, compile, [''])
13 test('T15460', normal, compile, [''])
14 test('PluralS', normal, compile, [''])
15
16 # T12574 Test that suggest current flag over deprecated
17 test('T12574',normal, compile, ['-fwarn-missing-local-signatures'])
18
19 test('DeprU', [extra_files(['DeprM.hs'])], multimod_compile, ['DeprU', '-Wall'])
20
21 test('Werror01', normal, compile, [''])
22 test('Werror02', normal, compile, [''])
23
24 test('MissingMod', normal, multimod_compile, ['MissingMod', '-Wmissing-home-modules'])
25 test('T16551', [extra_files(['T16551/'])], multimod_compile, ['T16551/A.hs T16551/B.hs', '-Wmissing-home-modules'])
26
27 test('StarBinder', normal, compile, [''])
28
29 test('Overflow', normal, compile, [''])