Minimal check for then inside a string literal.
[style_checker.git] / regtests / thenlayout.adb
blob7a652afb78e36b6e6d8b5032b0d7dc0c0411307c
1 procedure ThenLayout is
2 Toto : Natural := 9;
3 begin
4 if Toto = 8 then
5 null;
6 end if;
8 if Toto = 8
9 or else Toto = 12
10 then
11 null;
12 end if;
14 if Toto = 2
15 and then Toto = 12 then
16 null;
17 end if;
19 if Gh = 12 then
20 null;
21 elsif Gh = 9 then
22 null;
23 end if;
25 if Gh = 12
26 and then Gh = "then"
27 then
28 null;
29 end if;
31 if Gh = 12
32 and then Gh = "then" then
33 null;
34 end if;
35 end ThenLayout;