summaryrefslogtreecommitdiff
path: root/Test/linear/Answer
blob: 9ba244e5578149a98a6bef390d2e2ebf34ddc3d9 (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

-------------------- typecheck.bpl --------------------
typecheck.bpl(6,22): Error: Linear domain A must be consistently attached to variables of one type
typecheck.bpl(18,22): Error: a linear domain can be attached to either a set or a scalar type
typecheck.bpl(31,9): Error: Only simple assignment allowed on linear variable b
typecheck.bpl(33,6): Error: Only variable can be assigned to linear variable a
typecheck.bpl(35,6): Error: Only linear variable can be assigned to linear variable a
typecheck.bpl(39,6): Error: Linear variable of domain D2 cannot be assigned to linear variable of domain D
typecheck.bpl(45,9): Error: Linear variable x can occur only once in the right-hand-side of an assignment
typecheck.bpl(49,4): Error: Linear variable a can occur only once as an input parameter
typecheck.bpl(51,4): Error: Only variable can be passed to linear parameter b
typecheck.bpl(53,4): Error: The domains of formal and actual parameters must be the same
typecheck.bpl(55,4): Error: The domains of formal and actual parameters must be the same
typecheck.bpl(57,4): Error: Only a linear argument can be passed to linear parameter a
typecheck.bpl(61,4): Error: Linear variable a can occur only once as an input parameter
typecheck.bpl(66,6): Error: Output variable d must be available at a return
typecheck.bpl(75,4): Error: Global variable g must be available at a return
typecheck.bpl(81,7): Error: unavailable source for a linear read
typecheck.bpl(81,4): Error: Output variable r must be available at a return
17 type checking errors detected in typecheck.bpl

-------------------- list.bpl --------------------

Boogie program verifier finished with 2 verified, 0 errors

-------------------- allocator.bpl --------------------
allocator.bpl(8,3): Error BP5001: This assertion might not hold.
Execution trace:
    allocator.bpl(6,5): anon0

Boogie program verifier finished with 0 verified, 1 error

-------------------- f1.bpl --------------------
f1.bpl(33,4): Error BP5001: This assertion might not hold.
Execution trace:
    f1.bpl(27,6): anon0

Boogie program verifier finished with 1 verified, 1 error

-------------------- f2.bpl --------------------
f2.bpl(19,4): Error BP5001: This assertion might not hold.
Execution trace:
    f2.bpl(15,4): anon0

Boogie program verifier finished with 0 verified, 1 error

-------------------- f3.bpl --------------------

Boogie program verifier finished with 2 verified, 0 errors