Allocate non-code memory using mono_domain_alloc0 in mono_create_jit_trampoline_from_...
[mono.git] / mcs / errors / cs4010-2.cs
1 // CS4010: Cannot convert async anonymous method to delegate type `System.Func<string>'
2 // Line: 10
3 // Compiler options: -langversion:future
4
5 using System;
6
7 class C
8 {
9         public static void Main ()
10         {
11                 Func<string> a = async delegate { };
12         }
13 }