# Make sure that optimization works with void statements

set test "optim_voidstmt"

foreach runtime [get_runtime_list] {
    if {$runtime != ""} {
	stap_run $srcdir/$subdir/$test.stp no_load $all_pass_string \
	    --runtime=$runtime -w -g
    } else {
	stap_run $srcdir/$subdir/$test.stp no_load $all_pass_string -w -g
    }
}
