summaryrefslogtreecommitdiff
path: root/Test/livevars/NestedOneDimensionalMap.bpl
blob: 411316ac2de67032cb57a43af1c0441255aa258f (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
var k: int;
var AllMaps__1: [int][int]int;

procedure PoirotMain.Main_trace_1_trace_1()
modifies k, AllMaps__1;
{
  var $tmp4: int;
  var local_0: int;

  lab0:
    k := 1;
    goto lab1, lab2;


lab1:
    assume k == 0;
    goto lab3;

lab2:
    assume k == 1;
    $tmp4 := local_0;
    goto lab3;

lab3:    
    AllMaps__1[$tmp4][0] := 1;   
    assert AllMaps__1[local_0][0] == 1;
}