summaryrefslogtreecommitdiffstats
path: root/testsuite/transok/one.stp
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/transok/one.stp')
-rwxr-xr-xtestsuite/transok/one.stp20
1 files changed, 9 insertions, 11 deletions
diff --git a/testsuite/transok/one.stp b/testsuite/transok/one.stp
index 6c624f14..7da27549 100755
--- a/testsuite/transok/one.stp
+++ b/testsuite/transok/one.stp
@@ -42,15 +42,13 @@ probe begin
a / b
a % b
- # all unary operators
- a ++
- a --
- -- a
- -- b
- ~ a
- ! a
- ; # grammar glitch
- + a
- ; # grammar glitch
- - a
+ # all unary operators; use explicit ";" to avoid grammar ambiguities
+ a ++ ;
+ a -- ;
+ ++ a ;
+ -- b ;
+ ~ a ;
+ ! a ;
+ + a ;
+ - a ;
}