Merge pull request #5714 from alexischr/update_bockbuild
[mono.git] / mcs / tests / test-456.cs
1 // Compiler options: -unsafe
2
3 struct Foo {
4         public float f;
5         public void foo ()
6         {
7                 unsafe {
8                         fixed (float *pf2 = &f) {
9                         }
10                 }
11         }
12 }
13
14 class Test {
15         public static void Main ()
16         {
17                 Foo x = new Foo ();
18                 x.foo ();
19         }
20 }