zeek/auxil/spicy/tests/hilti/validation/local-variables.hlt
Patrick Kelley 8fd444092b initial
2025-05-07 15:35:15 -04:00

11 lines
197 B
Plaintext

# @TEST-EXEC-FAIL: ${HILTIC} -j %INPUT >output 2>&1
# @TEST-EXEC: btest-diff output
#
# @TEST-DOC: Check that local variables cannot be declared at module scope
module Foo {
local auto x = 1;
}