Merge pull request #2810 from kumpera/fix_hazard_free
[mono.git] / mono / mini / basic-math.cs
index 4482c913af6f88513c7e0465b2f6b954ce78e6da..9a1fcb9406cd97e0c3887220e7f1df61fdef5600 100644 (file)
@@ -23,11 +23,18 @@ using System.Reflection;
  * the IL code looks.
  */
 
-class Tests {
-
+#if __MOBILE__
+class MathTests
+#else
+class Tests
+#endif
+{
+
+#if !__MOBILE__
        public static int Main (string[] args) {
                return TestDriver.RunTests (typeof (Tests), args);
        }
+#endif
        
        public static int test_0_sin_precision () {
                double d1 = Math.Sin (1);