"disable_omit_fp" can now be included in MONO_DEBUG
[mono-project.git] / mcs / tests / gtest-variance-3.cs
blob4af8a27d82a224b3bb763173c884f18dcbabd80d
1 delegate T Foo<out T> ();
3 public class Test
5 public static int Main ()
7 string message = "Hello World!";
8 Foo<string> foo = () => message;
9 if (Bar (foo) != message.GetHashCode ())
10 return 1;
12 return 0;
15 static int Bar (Foo<object> foo)
17 return foo().GetHashCode ();