diff options
Diffstat (limited to 'Test/linear/typecheck.bpl.expect')
-rw-r--r-- | Test/linear/typecheck.bpl.expect | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/Test/linear/typecheck.bpl.expect b/Test/linear/typecheck.bpl.expect new file mode 100644 index 00000000..dddbd163 --- /dev/null +++ b/Test/linear/typecheck.bpl.expect @@ -0,0 +1,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 |