summaryrefslogtreecommitdiff
path: root/Test/linear/typecheck.bpl.expect
blob: dddbd163c2271b765d4cdf9a88a9cb79941df522 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
typecheck.bpl(33,9): Error: Only simple assignment allowed on linear variable b
typecheck.bpl(35,6): Error: Only variable can be assigned to linear variable a
typecheck.bpl(37,6): Error: Only linear variable can be assigned to linear variable a
typecheck.bpl(41,6): Error: Linear variable of domain D2 cannot be assigned to linear variable of domain D
typecheck.bpl(47,9): Error: Linear variable x can occur only once in the right-hand-side of an assignment
typecheck.bpl(51,4): Error: Linear variable a can occur only once as an input parameter
typecheck.bpl(53,4): Error: Only variable can be passed to linear parameter b
typecheck.bpl(55,4): Error: The domains of formal and actual parameters must be the same
typecheck.bpl(57,4): Error: The domains of formal and actual parameters must be the same
typecheck.bpl(59,4): Error: Only a linear argument can be passed to linear parameter a
typecheck.bpl(64,4): Error: Linear variable a can occur only once as an input parameter of a parallel call
typecheck.bpl(71,0): Error: Output variable d must be available at a return
typecheck.bpl(80,0): Error: Global variable g must be available at a return
typecheck.bpl(85,7): Error: unavailable source for a linear read
typecheck.bpl(86,0): Error: Output variable r must be available at a return
15 type checking errors detected in typecheck.bpl