Merge pull request #5714 from alexischr/update_bockbuild
[mono.git] / mcs / tests / gtest-627.cs
1 using System;
2
3 class X
4 {
5         public static U Foo<U> (double? value, Func<double?, U> f, int dv = 0)
6         {
7                 throw new ApplicationException ();
8         }
9
10         public static U Foo<T, U> (T? source, Func<T, U> f) where T : struct
11         {
12                 return default (U);
13         }
14
15         static void Main (string[] args)
16         {
17                 Foo (default (double?), v => v / 100);
18         }
19 }