()
| 678 | |
| 679 | #[test] |
| 680 | fn test_used() { |
| 681 | let mut block = pcode::Block::new(); |
| 682 | let reg = pcode::VarNode::new(1, 2); |
| 683 | block.push((reg, pcode::Op::Load(0), 0x1000)); |
| 684 | // If all bits of the load are used then we must keep the original load size. |
| 685 | check(block, 0, None); |
| 686 | } |
| 687 | |
| 688 | #[test] |
| 689 | fn test_unused() { |