mirror of
https://github.com/kmc7468/cs420.git
synced 2025-12-15 06:58:50 +00:00
Add deadcode examples
This commit is contained in:
@@ -92,3 +92,12 @@ fn test_examples_gvn() {
|
||||
&mut Gvn::default(),
|
||||
);
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn test_examples_deadcode() {
|
||||
test_opt(
|
||||
&Path::new("examples/deadcode/deadcode.input.ir"),
|
||||
&Path::new("examples/deadcode/deadcode.output.ir"),
|
||||
&mut Deadcode::default(),
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user