Merge pull request #1821 from iainx/replace-getline
[mono-project.git] / mcs / errors / cs1919.cs
blob8eacf169a3517db53af70e92f3fe7a7e95dff7e1
1 // CS1919: Unsafe type `int*' cannot be used in an object creation expression
2 // Line: 12
3 // Compiler options: -unsafe
5 using System;
7 public class Test
9 static void Main ()
11 unsafe {
12 object o = new int*();