zeek/auxil/spicy/tests/hilti/hiltic/jit/broken-hilti-linking.hlt
Patrick Kelley 8fd444092b initial
2025-05-07 15:35:15 -04:00

14 lines
399 B
Plaintext

# @TEST-EXEC-FAIL: ${HILTIC} -j %INPUT
# @TEST-EXEC: grep -q does_not_exist .stderr
#
# Check that a failure with the HILTI linker's code doesn't produce leaks or
# other unexpected output. Because the actual output depends on the underlying
# compiler, we just check for a keyword being in there.
module Test {
declare public time does_not_exist() &cxxname="does_not_exist";
does_not_exist();
}