New test.
[mono.git] / mcs / errors / cs0214-3.cs
1 // cs0214-3.cs: Pointers and fixed size buffers may only be used in an unsafe context
2 // Line: 13
3 // Compiler options: -unsafe
4
5 struct X {
6         static unsafe void *a ()
7                 {
8                         return null;
9                 }
10
11         static void Main ()
12                 {
13                         a ();
14                 }
15         
16 }