[mcs] C#7 throw expression
[mono.git] / mcs / tests / test-466.cs
index 289e7002dab949ace5c71eab52cb4147cc7f6a66..94365cd1a013f87bbc1d65eef3d19ab9ae555ed6 100644 (file)
@@ -1,16 +1,15 @@
-// Compiler options: -unsafe
-
-public unsafe struct B {
-       private fixed int a[5];
-}
-
-public unsafe class C {
-       private B x;
-
-       public void Goo() {
-               fixed(B* y=&x) {
+// Compiler options: -r:test-466-lib.dll
+
+namespace A.X
+{
+       using A.B;
+       
+       class Test
+       {
+               public static void Main ()
+               {
+                       C c = new C ();
+                       c.Foo ();
                }
-       } 
-
-       public static void Main () {}
-}
+       }
+}
\ No newline at end of file