@Test
	public void test_DW_OP_regx_nonterm() throws IOException, DWARFExpressionException {

		DWARFExpression expr1 = evaluator.readExpr(new byte[] { (byte) DW_OP_reg0, DW_OP_dup });
		DWARFExpression expr2 =
			evaluator.readExpr(new byte[] { (byte) DW_OP_regx, (byte) 0x01, DW_OP_dup });

		try {
			evaluator.evaluate(expr1);
			fail("Should not get here");
		}
		catch (DWARFExpressionException dee) {
			// good
		}

		try {
			evaluator.evaluate(expr2);
			fail("Should not get here");
		}
		catch (DWARFExpressionException dee) {
			// good
		}
	}
Test to ensure that non-terminal DW_OP_reg[?] opcodes trigger an exception
when evaluating.

@throws IOException
@throws DWARFExpressionException
Ghidra/Features/Base/src/test/java/ghidra/app/util/bin/format/dwarf/expression/DWARFExpressionEvaluatorTest.java