diff --git a/tests/test_examples.rs b/tests/test_examples.rs index 0553e27..d1b5896 100644 --- a/tests/test_examples.rs +++ b/tests/test_examples.rs @@ -190,6 +190,15 @@ fn test_examples_gvn() { ); } +#[test] +fn test_examples_optimize() { + test_opt_between_dirs( + &Path::new("examples/ir0"), + &Path::new("examples/opt"), + &mut O1::default(), + ) +} + #[test] fn test_examples_asmgen_small() { for dir in ASMGEN_TEST_DIR_LIST.iter() {