blob: d84e24c041a14134368454bd9cb7d16078ee5a61 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
{-# OPTIONS -fwarn-tabs #-}
-- Check we get a warning for multiple tabs, with the correct number of tabs
-- mentioned
module ShouldCompile where
-- tab in middle of line
tab1 = 'a'
-- tab at end of line
tab2 = 'b'
-- two tabs in middle of line
tab3 = 'c'
tab4 = if True
-- tab at start of line
then 'd'
-- tab at start of line
else 'e'
-- tab before a comment starts
|