[interp] Remove unreachable code (#12411)
[mono-project.git] / mono / tests / array-coop-smallvt.sh
blob730cc8e67b01da6e130cc61255b7f3dd2fd823bd
1 #!/bin/sh
3 cat "$1/array-coop-1.cs"
5 cat <<EOF
6 struct t
8 public t (int aa)
10 i = aa;
12 public static bool operator == (t a, t b) { return a.i == b.i; }
13 public static bool operator != (t a, t b) { return a.i != b.i; }
14 override public bool Equals (object a) { return i == ((t)a).i; }
15 override public int GetHashCode () { return (int)i; }
17 int i;
20 class test
22 // FIXME? Can this line be the same for valuetypes and int?
23 static t newt (int aa) { return new t (aa); }
25 EOF
27 cat "$1/array-coop-2.cs"