diff options
Diffstat (limited to 'src/tests/keywords/else-error')
-rw-r--r-- | src/tests/keywords/else-error | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/tests/keywords/else-error b/src/tests/keywords/else-error new file mode 100644 index 0000000..3816270 --- /dev/null +++ b/src/tests/keywords/else-error @@ -0,0 +1,14 @@ +# +# PRE: update if +# +# "else" has to be preceded by an "if" or "elsif" +# +if (1) { + update reply { + Filter-Id := "filter" + } + + else { # ERROR + ok + } +} |