Add a third AOT location, alongside ~/.mono/aot-cache and the assembly dir
[mono.git] / mcs / tests / test-primary-ctor-09.cs
1 using System;
2
3 class A (Func<int, int> barg)
4 {
5         public Func<int, int> BaseArg = barg;
6 }
7
8 partial class PC
9 {
10         public Func<int, int> f1 = (a) => arg;
11 }
12
13 partial class PC (int arg) 
14         : A ((a) => arg)
15 {
16 }
17
18 class X
19 {
20         public static int Main ()
21         {
22                 if (new PC (3).f1 (4) != 3)
23                         return 1;
24
25                 if (new PC (3).BaseArg (4) != 3)
26                         return 2;
27
28                 return 0;
29         }
30 }