summaryrefslogtreecommitdiffstats
path: root/testsuite/parseok/eleven.stp
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/parseok/eleven.stp')
-rwxr-xr-xtestsuite/parseok/eleven.stp8
1 files changed, 7 insertions, 1 deletions
diff --git a/testsuite/parseok/eleven.stp b/testsuite/parseok/eleven.stp
index 737a2e14..5ee0f921 100755
--- a/testsuite/parseok/eleven.stp
+++ b/testsuite/parseok/eleven.stp
@@ -53,5 +53,11 @@ probe two
- a
# grammar glitch
- a % b ; -- a ; ++ a ; a ++ ; a --
+ a % b ; -- a ; ++ a ; a ++ ; a -- ;
+
+ # chained unary operators
+ + + a ; + - a ; + ! a ; + ~ a ;
+ - + a ; - - a ; - ! a ; - ~ a ;
+ ! + a ; ! - a ; ! ! a ; ! ~ a ;
+ ~ + a ; ~ - a ; ~ ! a ; ~ ~ a ;
}