zeek/auxil/spicy/tests/hilti/tools/hiltic-jit-cc-input.cc
Patrick Kelley 8fd444092b initial
2025-05-07 15:35:15 -04:00

13 lines
451 B
C++

// @TEST-DOC: Validates that object files for C++ inputs are not generated next to source.
//
// Initially we expect four files (stdout, stderr, log, input).
// @TEST-EXEC: test $(find . -type f | wc -l) -eq 4
//
// JIT the C++ file and keep the output file. It should end in the temp dir.
// @TEST-EXEC: hiltic -jT %INPUT
//
// We still expect four files (stdout, stderr, log, input).
// @TEST-EXEC: test $(find . -type f | wc -l) -eq 4
void f() {}