4 if [ `which gsed 2> /dev/null` ] ; then
13 TEST_FILE=${TEST_VALIDITY}_${TEST_NAME}_generated.il
17 $SED -e "s/VALIDITY/${TEST_VALIDITY}/g" -e "s/TYPE/${TEST_TYPE}/g" > $TEST_FILE <<//EOF
19 // VALIDITY CIL which breaks the ECMA-335 rules.
20 // this CIL should fail verification by a conforming CLI verifier.
22 .assembly '${TEST_NAME}_generated'
24 .hash algorithm 0x00008004
28 .class public auto ansi beforefieldinit Driver extends [mscorlib]System.Object
30 .method public static hidebysig default TYPE Foo () cil managed
33 .locals init (TYPE V_0)
38 .method public static hidebysig default int32 Main () cil managed
43 call TYPE class Driver::Foo()