2010-06-03 Jb Evain <jbevain@novell.com>
[mcs.git] / tests / test-464.cs
blob7e19f1d58f4099fed671c90c5f79f03dcbdd33b4
1 // Compiler options: -res:test-464.cs,TEST,private
3 using System.Reflection;
4 using System;
6 class C {
7 public static int Main ()
9 string [] s = typeof (C).Assembly.GetManifestResourceNames ();
10 if (s [0] != "TEST")
11 return 1;
13 if (typeof (C).Assembly.GetManifestResourceStream ("TEST") == null)
14 return 2;
16 Console.WriteLine ("OK");
17 return 0;