summaryrefslogtreecommitdiffstats
path: root/reg-tests/lua/wrong_types_usage.lua
diff options
context:
space:
mode:
Diffstat (limited to 'reg-tests/lua/wrong_types_usage.lua')
-rw-r--r--reg-tests/lua/wrong_types_usage.lua3
1 files changed, 3 insertions, 0 deletions
diff --git a/reg-tests/lua/wrong_types_usage.lua b/reg-tests/lua/wrong_types_usage.lua
new file mode 100644
index 0000000..d2401fa
--- /dev/null
+++ b/reg-tests/lua/wrong_types_usage.lua
@@ -0,0 +1,3 @@
+core.register_action("foo", { "http-req" }, function(txn)
+ txn.sc:ipmask(txn.f:src(), 24, 112)
+end)