4 if [ `which gsed 2> /dev/null` ] ; then
15 TEST_FILE
=`echo ${TEST_VALIDITY}_${TEST_NAME} | $SED -e 's/ /_/g' -e 's/\./_/g' -e 's/&/mp/g' -e 's/\[/_/g' -e 's/\]/_/g'`_generated.il
17 $SED -e "s/TYPE1/${TEST_TYPE1}/g" -e "s/TYPE2/${TEST_TYPE2}/g" -e "s/VALIDITY/${TEST_VALIDITY}/g" -e "s/CODE/${TEST_OP}/g" > $TEST_FILE <<//EOF
19 .assembly extern mscorlib
22 .publickeytoken
= (B7
7A
5C
56 19 34 E0
89 ) // .z\V
.4..
25 .assembly
'mkrefany_test'
27 .
hash algorithm
0x00008004
34 .class Class extends
[mscorlib
]System.Object
36 .field public int32 valid
39 .class public Template\
`1<T>
40 extends [mscorlib]System.Object
44 .class sealed public StructTemplate\`1<T
>
45 extends
[mscorlib
]System.ValueType
50 .class sealed public StructTemplate2\
`1<T>
51 extends [mscorlib]System.ValueType
57 .class public auto ansi sealed MyStruct
58 extends [mscorlib]System.ValueType
60 .field public int32 foo
64 .class public auto ansi sealed MyStruct2
65 extends [mscorlib]System.ValueType
67 .field public int32 foo
70 .method public static int32 Main ()
74 .locals init (TYPE1 V_0)