summaryrefslogtreecommitdiff
path: root/mcs/errors/cs0208-4.cs
blob: bb6771a12c881992b0c4435bb49f2c3cb1e1a79c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// CS0208: Cannot take the address of, get the size of, or declare a pointer to a managed type `object'
// Line: 11
// Compiler options: -unsafe

using System;
using System.Runtime.InteropServices;

class C
{
	[DllImport ("xml2")]
	unsafe static extern object* valuePop (IntPtr context);
	public static void Main ()
	{
	}
}