a575963da9
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
17 lines
317 B
C#
17 lines
317 B
C#
// Compiler options: -r:gtest-371-lib.dll
|
|
|
|
// Important test: Type inference
|
|
|
|
class X
|
|
{
|
|
public static void Main ()
|
|
{
|
|
Test<float,int> test = new Test<float,int> ();
|
|
test.Foo ("Hello World");
|
|
test.Foo (new long[] { 3, 4, 5 }, 9L);
|
|
test.Hello (3.14F, 9, test);
|
|
test.ArrayMethod (3.14F, (float) 9 / 3);
|
|
}
|
|
}
|
|
|