()
| 179 | #[test] |
| 180 | #[should_panic(expected = "assertion failed: name.index() < self.registers.len()")] |
| 181 | fn retrieve_nonexistent_value() { |
| 182 | let func = empty_function(); |
| 183 | let frame = Frame::new(&func); |
| 184 | let ssa_value_ref = ValueRef::from_u32(1); |
| 185 | |
| 186 | // Retrieving a non-existent value should return an error. |
| 187 | frame.get(ssa_value_ref); |
| 188 | } |
| 189 | |
| 190 | #[test] |
| 191 | #[should_panic(expected = "empty slot: v5")] |
nothing calls this directly
no test coverage detected