Do not remap framework assembly if it's version is higher than the runtime version
[mono.git] / mcs / tests / test-399.cs
index 480ab2801b5e739feb183c24d8d1ff15cc5ddd74..d800b4f702ff3e47f98e9debbd002c5edd5ae868 100644 (file)
@@ -4,7 +4,17 @@ using System;
 
 class TestVararg
 {
-       static int Main ()
+       static void F (RuntimeArgumentHandle rah)
+       {
+       }
+       
+       static void G (__arglist)
+       {
+               F (new RuntimeArgumentHandle ());
+               F (__arglist);
+       }
+       
+       public static int Main ()
        {
                int result = Vararg.AddABunchOfInts (__arglist ( 2, 3, 4 ));
                Console.WriteLine ("Answer: {0}", result);