From 71915494a66dde354db1e40a3c9ba19a6cc21c75 Mon Sep 17 00:00:00 2001 From: Neil Brown Date: Fri, 8 Feb 2008 23:49:20 +0000 Subject: [PATCH] Added a test for multiplied variables --- testcases/automatic/usage-check-1.occ.test | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/testcases/automatic/usage-check-1.occ.test b/testcases/automatic/usage-check-1.occ.test index d1dcdb6..61571f8 100644 --- a/testcases/automatic/usage-check-1.occ.test +++ b/testcases/automatic/usage-check-1.occ.test @@ -81,6 +81,10 @@ PROC m() %FAIL Two variables a[x] := 3 a[y] := 5 + +%PASS Multiplied variables + a[x*y] := 3 + a[(x*y) + 1] := 5 %PASS Modulo variable (c.d.) and a constant, safe a[x REM 3] := 3