Merge pull request #2998 from lateralusX/jlorenss/win-x64-full-aot-support
[mono.git] / mcs / tests / test-574.cs
index 801c196bce08320180ef71eb027b3c1aea491927..8aa00c88ead932bb9c696c3f1eecac987d99abe9 100644 (file)
@@ -1,15 +1,25 @@
 using System;
-using System.IO;
-
-namespace XmlnsAttributeSample
-{
-    public class XmlnsAttribTester
-    {
-        static public void Main (string [] args)
-        {
-            using (StringWriter stringWriter = new StringWriter ())
-            {
-            }
-        }
-    }
-}
\ No newline at end of file
+using System.Threading;
+
+enum A {
+  Hello,
+  Bye
+}
+
+class X {
+
+       public static int Main () {
+               try {
+                       switch (0) {
+                       default:
+                         throw new Exception("FOO");
+                         break;
+                       }
+               } catch (Exception) {
+                       return 0;
+               }
+               
+               return 1;
+       }
+}
+