Merge pull request #5675 from mono/glib-debug-symbols
[mono.git] / mcs / tests / test-anon-11.cs
index f63b9231f64c9010dd3ed2b4c3c5717f08e74fea..21c6638586008b6e0ff2c22c1d7d3279adb031e4 100644 (file)
@@ -4,13 +4,18 @@
 delegate void D (int x);
 delegate void E (out int x);
 
+delegate void F (params int[] x);
+
 class X {
-       static int Main ()
+       public static int Main ()
        {
                // This should create an AnonymousMethod with the implicit argument
                D d1 = delegate {};
                D d2 = delegate (int a) {};
 
+               F f1 = delegate {};
+               F f2 = delegate (int[] a) {};
+
                return 0;
        }
 }