()
| 131 | |
| 132 | #[test] |
| 133 | fn nop() { |
| 134 | if cranelift_native::builder().is_err() { |
| 135 | return; |
| 136 | } |
| 137 | let code = String::from( |
| 138 | " |
| 139 | function %test() -> i8 { |
| 140 | block0: |
| 141 | nop |
| 142 | v1 = iconst.i8 -1 |
| 143 | return v1 |
| 144 | } |
| 145 | ; run |
| 146 | ", |
| 147 | ); |
| 148 | run_file_contents(code).unwrap() |
| 149 | } |
| 150 | } |
no test coverage detected