summaryrefslogtreecommitdiffstats
path: root/src/tests/keywords/unknown-name
diff options
context:
space:
mode:
Diffstat (limited to 'src/tests/keywords/unknown-name')
-rw-r--r--src/tests/keywords/unknown-name15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/tests/keywords/unknown-name b/src/tests/keywords/unknown-name
new file mode 100644
index 0000000..5a99ac9
--- /dev/null
+++ b/src/tests/keywords/unknown-name
@@ -0,0 +1,15 @@
+#
+# PRE: update unknown
+#
+update control {
+ Cleartext-Password := 'hello'
+}
+
+#
+# This delayed binding should result in a parse error
+#
+if (&User-Name == &Foo-Bar-Baz) { # ERROR
+ update reply {
+ Filter-Id += "fail-2"
+ }
+}