dlr bug
[mcs.git] / tests / gtest-371.cs
bloba3e48c56cb411a0e953209f4eb32817b6ae09840
1 // Compiler options: -r:gtest-371-lib.dll
3 // Important test: Type inference
5 class X
7 static void Main ()
9 Test<float,int> test = new Test<float,int> ();
10 test.Foo ("Hello World");
11 test.Foo (new long[] { 3, 4, 5 }, 9L);
12 test.Hello (3.14F, 9, test);
13 test.ArrayMethod (3.14F, (float) 9 / 3);