Bump corefx
[mono-project.git] / mono / tests / soft-float-tests.cs
blob5316885c80a1d6973b482270d46d379168b3a47d
1 using System;
3 public class Driver {
4 static float D = 3;
6 public static int StoreStaticField (float y) {
7 D = y;
8 return 0;
11 public static float ReadSingle () {
12 Object o = "";
13 o.ToString ();
14 return 64f;
17 public static int TestStoreArray() {
18 float[] arr = new float[10];
19 arr[0] = ReadSingle();
20 return 0;
24 public static int Main () {
25 int res = 0;
26 res = StoreStaticField (128f);
27 res |= TestStoreArray();
29 return res;