[LoongArch64] Part-5:add loongarch support in some files for LoongArch64. (#21769)
[mono-project.git] / mcs / tests / test-351.cs
blob2d2463ee8313c324ee60deca31dd894fd62ccec6
1 namespace Test {
2 delegate void Foo (string x, params object [] args);
3 class Testee {
4 static void Bar (string x, params object [] args) {}
5 public static void Main () {
6 Foo bar = new Foo (Bar);
7 bar ("Hello");
8 bar ("Hello", "world");
9 bar ("Hello", new string [] { "world" });
10 bar ("Hello", "world", "!!!");
11 bar ("i = ", 5);
12 bar ("x' = ", new object [] {"Foo", 5, 3.6 });
13 bar ("x'' = ", "Foo", 5, 3.6);