[mini] Fix test compiling when running !MOBILE
[mono.git] / mcs / errors / cs1706-4.cs
1 // CS1706: Anonymous methods and lambda expressions cannot be used in the current context
2 // Line: 13
3
4 using System;
5
6 delegate int TestDelegate();
7
8 class MyAttr : Attribute
9 {
10         public MyAttr (TestDelegate d) { }
11 }
12
13 [MyAttr (() => 1)]
14 class C
15 {
16 }
17