* test-352.cs: New test.
* test-353.cs, test-353-2: Bug #73117
svn path=/trunk/mcs/; revision=41310
+2005-03-01 Marek Safar <marek.safar@seznam.cz>
+
+ * test-352.cs: New test.
+
+ * test-353.cs, test-353-2: Bug #73117
+
2005-02-22 Raja R Harinath <rharinath@novell.com>
* mtest-6-exe.cs, mtest-6-dll.cs: New test based on #71134.
#
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
--- /dev/null
+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 () {}
+}
--- /dev/null
+using System;
+
+public class Three {
+ public static void Main ()
+ {
+ One o = new One ();
+ }
+}
--- /dev/null
+// Compiler options: ../test-353-2.cs
+
+using System;
+
+[Obsolete]
+public class One { }
+
+#pragma warning disable 612
+
+public class Two {
+ private One one;
+}