17 lines
258 B
Plaintext
17 lines
258 B
Plaintext
# @TEST-EXEC: hiltic -p %INPUT >opt.hlt
|
|
# @TEST-EXEC: btest-diff opt.hlt
|
|
#
|
|
# @TEST-DOC: Test that catch-blocks that just rethrow get removed.
|
|
|
|
module Test {
|
|
|
|
public function void foo() {
|
|
try {
|
|
assert True;
|
|
} catch {
|
|
throw;
|
|
}
|
|
}
|
|
|
|
}
|