Merge pull request #954 from ermshiperete/bug-xamarin-8907
[mono.git] / mono / mini / basic-calls.cs
index 5ad874b3dfaf90d4ab35b0f176b809ef6b29b5c2..41cb62405cb82a0137e5573c04d5d677786123a4 100644 (file)
@@ -23,11 +23,18 @@ using System.Reflection;
  * the IL code looks.
  */
 
-class Tests {
-
-       static int Main () {
-               return TestDriver.RunTests (typeof (Tests));
-       }
+#if MOBILE
+class CallsTests
+#else
+class Tests
+#endif
+{
+
+#if !MOBILE
+       public static int Main (string[] args) {
+               return TestDriver.RunTests (typeof (Tests), args);
+       }
+#endif
 
        static void dummy () {
        }