Author: marek
Date: 2005-10-27 08:13:55 -0400 (Thu, 27 Oct 2005)
New Revision: 52272
Added:
trunk/mcs/tests/test-464.cs
Modified:
trunk/mcs/tests/ChangeLog
trunk/mcs/tests/known-issues-gmcs
Log:
2005-10-27 Marek Safar <[EMAIL PROTECTED]>
* test-464.cs: New test.
Modified: trunk/mcs/tests/ChangeLog
===================================================================
--- trunk/mcs/tests/ChangeLog 2005-10-27 12:11:43 UTC (rev 52271)
+++ trunk/mcs/tests/ChangeLog 2005-10-27 12:13:55 UTC (rev 52272)
@@ -1,3 +1,7 @@
+2005-10-27 Marek Safar <[EMAIL PROTECTED]>
+
+ * test-464.cs: New test.
+
2005-10-25 Atsushi Enomoto <[EMAIL PROTECTED]>
* gtest-223.cs : new test for #76551.
Modified: trunk/mcs/tests/known-issues-gmcs
===================================================================
--- trunk/mcs/tests/known-issues-gmcs 2005-10-27 12:11:43 UTC (rev 52271)
+++ trunk/mcs/tests/known-issues-gmcs 2005-10-27 12:13:55 UTC (rev 52272)
@@ -23,4 +23,4 @@
test-externalias-06.cs IGNORE
test-externalias-07.cs IGNORE
test-externalias-08.cs IGNORE
-
+test-464.cs
\ No newline at end of file
Added: trunk/mcs/tests/test-464.cs
===================================================================
--- trunk/mcs/tests/test-464.cs 2005-10-27 12:11:43 UTC (rev 52271)
+++ trunk/mcs/tests/test-464.cs 2005-10-27 12:13:55 UTC (rev 52272)
@@ -0,0 +1,19 @@
+// Compiler options: -res:test-464.cs,TEST,private
+
+using System.Reflection;
+using System;
+
+class C {
+ public static int Main ()
+ {
+ string [] s = typeof (C).Assembly.GetManifestResourceNames ();
+ if (s [0] != "TEST")
+ return 1;
+
+ if (typeof (C).Assembly.GetManifestResourceStream ("TEST") ==
null)
+ return 2;
+
+ Console.WriteLine ("OK");
+ return 0;
+ }
+}
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches