Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cs1919.cs « errors « mcs - github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
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*();
		}
	}
}