"disable_omit_fp" can now be included in MONO_DEBUG
[mono-project.git] / mcs / tests / gtest-236.cs
blob37acdefe68e281042feda27128585ff97bdb093f
1 using System;
3 class Foo<T>
5 public int Test (Foo<T> foo)
7 return 1;
10 public int Test (Foo<int> foo)
12 return 2;
16 class X
18 public static int Main ()
20 Foo<long> foo = new Foo<long> ();
21 Foo<int> bar = new Foo<int> ();
22 if (foo.Test (foo) != 1)
23 return 1;
24 if (foo.Test (bar) != 2)
25 return 2;
26 if (bar.Test (bar) != 2)
27 return 3;
28 return 0;