4 if [ `which gsed 2> /dev/null` ] ; then
15 declare OPCODE_
${TEST_POS}="$TEST_LEAVE_CODE"
16 declare OPCODE_EXTRA_
${TEST_POS}="${TEST_EXTRA}"
18 TEST_NAME
=${TEST_VALIDITY}_
${TEST_NAME}
19 TEST_FILE
=${TEST_NAME}_generated.il
21 $SED -e "s/VALIDITY/${TEST_VALIDITY}/g" -e "s/OPCODE_EXTRA_1/${OPCODE_EXTRA_1}/g" -e "s/OPCODE_EXTRA_2/${OPCODE_EXTRA_2}/g" -e "s/OPCODE_EXTRA_3/${OPCODE_EXTRA_3}/g" -e "s/OPCODE_EXTRA_4/${OPCODE_EXTRA_4}/g" > $TEST_FILE <<//EOF
24 .assembly
'${TEST_NAME}_generated'
26 .
hash algorithm
0x00008004
30 .method public static int32 Main
() cil managed
34 .locals init
(int32 V0
)
41 newobj instance void class
[mscorlib
]System.Exception
::.ctor
()
45 catch
[mscorlib
]System.Exception
53 newobj instance void class
[mscorlib
]System.Exception
::.ctor
()
68 newobj instance void class
[mscorlib
]System.Exception
::.ctor
()