Merge pull request #5675 from mono/glib-debug-symbols
[mono.git] / mcs / errors / cs1944-7.cs
1 // CS1944: An expression tree cannot contain an unsafe pointer operation
2 // Line: 15
3 // Compiler options: -unsafe
4
5 using System;
6 using System.Linq.Expressions;
7
8 class C
9 {
10         unsafe delegate int* D ();
11         
12         public static void Main ()
13         {
14                 unsafe {
15                         Expression<D> e = () => default (int*);
16                 }
17         }
18 }