Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

2007-11-05 Rodrigo Kumpera <rkumpera@novell.com>

	* soft-float-tests.cs: Tests for soft-float.
	Bug #323746 is regression tested by test.

	* Makefile.am: Added the new test to the suite.



svn path=/trunk/mono/; revision=88939
  • Loading branch information...
commit e032ba6bcba9974932357a0896de5a4cbc8e3c10 1 parent fdf015a
@kumpera kumpera authored
View
8 mono/tests/ChangeLog
@@ -1,3 +1,11 @@
+2007-11-05 Rodrigo Kumpera <rkumpera@novell.com>
+
+ * soft-float-tests.cs: Tests for soft-float.
+ Bug #323746 is regression tested by test.
+
+ * Makefile.am: Added the new test to the suite.
+
+
2007-10-29 Rodrigo Kumpera <rkumpera@novell.com>
* bug-335131.2.cs: Regression test for bug #335131.
View
3  mono/tests/Makefile.am
@@ -238,7 +238,8 @@ TEST_CS_SRC= \
exists.cs \
handleref.cs \
transparentproxy.cs \
- imt_big_iface_test.cs
+ imt_big_iface_test.cs \
+ soft-float-tests.cs
if X86
# bug #71274
View
31 mono/tests/soft-float-tests.cs
@@ -0,0 +1,31 @@
+using System;
+
+public class Driver {
+ static float D = 3;
+
+ public static int StoreStaticField (float y) {
+ D = y;
+ return 0;
+ }
+
+ public static float ReadSingle () {
+ Object o = "";
+ o.ToString ();
+ return 64f;
+ }
+
+ public static int TestStoreArray() {
+ float[] arr = new float[10];
+ arr[0] = ReadSingle();
+ return 0;
+ }
+
+
+ public static int Main () {
+ int res = 0;
+ res = StoreStaticField (128f);
+ res |= TestStoreArray();
+
+ return res;
+ }
+}
Please sign in to comment.
Something went wrong with that request. Please try again.