Author: marek
Date: 2005-03-01 03:45:38 -0500 (Tue, 01 Mar 2005)
New Revision: 41310
Added:
trunk/mcs/tests/test-352.cs
trunk/mcs/tests/test-353-2.cs
trunk/mcs/tests/test-353.cs
Modified:
trunk/mcs/tests/ChangeLog
trunk/mcs/tests/Makefile
Log:
2005-03-01 Marek Safar <[EMAIL PROTECTED]>
* test-352.cs: New test.
* test-353.cs, test-353-2: Bug #73117
Modified: trunk/mcs/tests/ChangeLog
===================================================================
--- trunk/mcs/tests/ChangeLog 2005-03-01 08:42:45 UTC (rev 41309)
+++ trunk/mcs/tests/ChangeLog 2005-03-01 08:45:38 UTC (rev 41310)
@@ -1,3 +1,9 @@
+2005-03-01 Marek Safar <[EMAIL PROTECTED]>
+
+ * test-352.cs: New test.
+
+ * test-353.cs, test-353-2: Bug #73117
+
2005-02-22 Raja R Harinath <[EMAIL PROTECTED]>
* mtest-6-exe.cs, mtest-6-dll.cs: New test based on #71134.
Modified: trunk/mcs/tests/Makefile
===================================================================
--- trunk/mcs/tests/Makefile 2005-03-01 08:42:45 UTC (rev 41309)
+++ trunk/mcs/tests/Makefile 2005-03-01 08:45:38 UTC (rev 41310)
@@ -29,7 +29,7 @@
#
NEW_TEST_SOURCES_common = xml-033 xml-034 xml-035 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-344 test-345 test-346 test-347 test-348 test-349
test-351 test-352 test-353
#
# Please do _not_ add any tests here - all new tests should go into
NEW_TEST_SOURCES_common
Added: trunk/mcs/tests/test-352.cs
===================================================================
--- trunk/mcs/tests/test-352.cs 2005-03-01 08:42:45 UTC (rev 41309)
+++ trunk/mcs/tests/test-352.cs 2005-03-01 08:45:38 UTC (rev 41310)
@@ -0,0 +1,14 @@
+using System.Runtime.InteropServices;
+
+public struct CONNECTDATA
+{
+ [MarshalAs (10)]
+ public object pUnk;
+ [MarshalAs (UnmanagedType.BStr)]
+ public int dwCookie;
+}
+
+public class C
+{
+ public static void Main () {}
+}
Added: trunk/mcs/tests/test-353-2.cs
===================================================================
--- trunk/mcs/tests/test-353-2.cs 2005-03-01 08:42:45 UTC (rev 41309)
+++ trunk/mcs/tests/test-353-2.cs 2005-03-01 08:45:38 UTC (rev 41310)
@@ -0,0 +1,8 @@
+using System;
+
+public class Three {
+ public static void Main ()
+ {
+ One o = new One ();
+ }
+}
Added: trunk/mcs/tests/test-353.cs
===================================================================
--- trunk/mcs/tests/test-353.cs 2005-03-01 08:42:45 UTC (rev 41309)
+++ trunk/mcs/tests/test-353.cs 2005-03-01 08:45:38 UTC (rev 41310)
@@ -0,0 +1,12 @@
+// Compiler options: ../test-353-2.cs
+
+using System;
+
+[Obsolete]
+public class One { }
+
+#pragma warning disable 612
+
+public class Two {
+ private One one;
+}
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches