-test.y:42.1-3: warning: refers to: $exp at $$ [-Wother]
-test.y:51.7: warning: possibly meant: $x, hiding $exp at $1 [-Wother]
-test.y:51.41: warning: possibly meant: $r, hiding $exp at $4 [-Wother]
-test.y:52.51-52: $l of 'exp' has no declared type
-test.y:55.46-49: invalid reference: '$r12'
+test.y:42.1-3: refers to: $exp at $$
+test.y:51.7: possibly meant: $x, hiding $exp at $1
+test.y:51.41: possibly meant: $r, hiding $exp at $4
+test.y:52.51-52: error: $l of 'exp' has no declared type
+test.y:55.46-49: error: invalid reference: '$r12'