summaryrefslogtreecommitdiffstats
path: root/pigeonhole/tests/compile/recover/commands-endblock.sieve
diff options
context:
space:
mode:
Diffstat (limited to 'pigeonhole/tests/compile/recover/commands-endblock.sieve')
-rw-r--r--pigeonhole/tests/compile/recover/commands-endblock.sieve27
1 files changed, 27 insertions, 0 deletions
diff --git a/pigeonhole/tests/compile/recover/commands-endblock.sieve b/pigeonhole/tests/compile/recover/commands-endblock.sieve
new file mode 100644
index 0000000..c06e218
--- /dev/null
+++ b/pigeonhole/tests/compile/recover/commands-endblock.sieve
@@ -0,0 +1,27 @@
+if true {
+ if true {
+ # Missing semicolon
+ keep
+ }
+}
+
+if true {
+ # Erroneous syntax
+ keep,
+ keep
+}
+
+if true {
+ if anyof(true,true,false) {
+ keep;
+ }
+}
+
+if true {
+ if anyof(true,true,false) {
+ keep;
+ # Missing semicolon
+ discard
+ }
+}
+