aboutsummaryrefslogtreecommitdiff
path: root/check/nesting.p
blob: 6d24b6b2dde6e650963bd050b34620de6956ba54 (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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69

program main ( input, output );

        var a, b: integer;
        var x,y,z: real;
	var ai :array [1..10] of integer;
	procedure boo (n: integer);
	var a,c: integer;
	begin
		a := n
	end;
	function bar (a: integer) : real;
	var test:integer;
	begin
		test := 2;
		a := 2
	end;
	procedure foo;
                procedure foo2;
                        procedure foo13;
                                procedure foo4;
                                        procedure foo5;
                                                procedure foo6;
                                                        procedure foo7;
                                                                procedure foo46;
                                                                        procedure fooaoesut;
                                                                                procedure foosathst;
                                                                                        procedure foothsth;
                                                                                        begin
                                                                                                a := 33333
                                                                                        end;
                                                                                begin
                                                                                        a := 33333
                                                                                end;
                                                                        begin
                                                                                a := 33333
                                                                        end;
                                                                begin
                                                                        a := 33333
                                                                end;
                                                        begin
                                                                a := 33333
                                                        end;
                                                begin
                                                        a := 33333
                                                end;
                                        begin
                                                a := 33333
                                        end;
                                begin
                                        a := 33333
                                end;
                        begin
                                a := 33333
                        end;
                begin
                        a := 33333
                end;
	begin
		a := 33333
	end;
begin
{ TEST }

	a := 1;
        x := 3.14;
	b := a + 35
	(* test *)
end.