Merge pull request #5714 from alexischr/update_bockbuild
[mono.git] / mcs / tests / test-465.cs
1 // Compiler options: -res:test-465.cs,
2
3 using System.Reflection;
4 using System;
5
6 class C {               
7         public static int Main () 
8         {
9                 string [] s = typeof (C).Assembly.GetManifestResourceNames ();
10                 if (s [0] != "test-465.cs")
11                         return 1;
12                 
13                 if (typeof (C).Assembly.GetManifestResourceStream ("test-465.cs") == null)
14                         return 2;
15
16                 Console.WriteLine ("OK");
17                 return 0;
18         }
19 }
20