mirror of
https://github.com/kmc7468/cs420.git
synced 2026-11-04 00:00:29 +09:00
Add deadcode examples
This commit is contained in:
1 parent
f4dc5e426c
commit
9a2dd840d2
6 files changed
+86
-3
No files matched your search
@@ -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