Merge pull request #5675 from mono/glib-debug-symbols
[mono.git] / mcs / errors / cs0208-4.cs
1 // CS0208: Cannot take the address of, get the size of, or declare a pointer to a managed type `object'
2 // Line: 11
3 // Compiler options: -unsafe
4
5 using System;
6 using System.Runtime.InteropServices;
7
8 class C
9 {
10         [DllImport ("xml2")]
11         unsafe static extern object* valuePop (IntPtr context);
12         public static void Main ()
13         {
14         }
15 }