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

9 lines
303 B
C++

// @TEST-EXEC-FAIL: ${HILTIC} -j %INPUT
// @TEST-EXEC: grep -q "Broken" .stderr
//
// Check that compiling broken C++ code doesn't produce any leaks or other
// unexpected output. Because the actual output depends on the underlying
// compiler, we just check for a keyword being in there.
Broken C;++.