summaryrefslogtreecommitdiff
path: root/test/regress/regress0/precedence/plus-mult.cvc
blob: 2d87cc44a4ea335db9f108f5263eef7ea98ed33e (plain)
1
2
3
4
5
6
7
8
% EXPECT: VALID
% Simple test for right precedence of plus/minus and mult/divide

a, b, c, d: INT;

QUERY (a + 2 * b - c = 3 * a + 4 * b) <=> 
  (((a + (2 * b)) - c) = ((3 * a) + (4 * b)));
% EXIT: 20
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback