zeek/auxil/spicy/tests/hilti/optimization/peephole-default-void.hlt
Patrick Kelley 8fd444092b initial
2025-05-07 15:35:15 -04:00

13 lines
210 B
Plaintext

# @TEST-EXEC: hiltic -p %INPUT >opt.hlt
# @TEST-EXEC: btest-diff opt.hlt
#
# @TEST-DOC: Test removal of no-op `default<void>()` statements
module Test {
public function void foo() {
default<void>();
}
}