Author: miguel
Date: 2005-03-17 13:08:56 -0500 (Thu, 17 Mar 2005)
New Revision: 41954
Added:
trunk/mcs/tests/test-358.cs
Modified:
trunk/mcs/tests/Makefile
trunk/mcs/tests/a-parameter2.cs
Log:
Add new test
Modified: trunk/mcs/tests/Makefile
===================================================================
--- trunk/mcs/tests/Makefile 2005-03-17 17:41:55 UTC (rev 41953)
+++ trunk/mcs/tests/Makefile 2005-03-17 18:08:56 UTC (rev 41954)
@@ -31,7 +31,7 @@
NEW_TEST_SOURCES_common = xml-033 xml-034 xml-035 xml-036 test-329 2test-16
test-330 a-parameter5 test-331 test-332 \
test-333 test-311 test-335 test-336 test-337 test-287
test-338 test-339 test-341 test-334 test-342 \
test-344 test-345 test-346 test-347 test-348 test-349
test-351 test-352 test-353 test-354 test-355 \
- test-356 test-357 \
+ test-356 test-357 test-358 \
mtest-7-dll mtest-7-exe
#
Modified: trunk/mcs/tests/a-parameter2.cs
===================================================================
--- trunk/mcs/tests/a-parameter2.cs 2005-03-17 17:41:55 UTC (rev 41953)
+++ trunk/mcs/tests/a-parameter2.cs 2005-03-17 18:08:56 UTC (rev 41954)
@@ -9,7 +9,7 @@
D x = T (1);
int v = x (10);
- Console.WriteLine ("Should be 11={0}", x);
+ Console.WriteLine ("Should be 11={0}", v);
return v == 11 ? 0 : 1;
}
Added: trunk/mcs/tests/test-358.cs
===================================================================
--- trunk/mcs/tests/test-358.cs 2005-03-17 17:41:55 UTC (rev 41953)
+++ trunk/mcs/tests/test-358.cs 2005-03-17 18:08:56 UTC (rev 41954)
@@ -0,0 +1,13 @@
+using System;
+
+public class Test
+{
+ public static void Main ()
+ {
+ double d =
0.0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000222;
+ Console.Out.WriteLine (d.ToString ("R"));
+ Console.Out.WriteLine (d.ToString ());
+ }
+}
+
+
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches