summaryrefslogtreecommitdiff
path: root/mcs/errors/cs1919.cs
blob: 8eacf169a3517db53af70e92f3fe7a7e95dff7e1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// CS1919: Unsafe type `int*' cannot be used in an object creation expression
// Line: 12
// Compiler options: -unsafe

using System;

public class Test
{
	static void Main ()
	{
		unsafe {
			object o = new int*();
		}
	}
}