[jit] Fix the saving of the 'cfg->ret_var_set' flag when inlining, it was set to...
[mono.git] / mcs / tests / test-492.cs
index 45ed1bdbfde92ffaa542551a4ef7be4d51be595a..aea7430097c2dc2d1354ea01845d842ac0b14686 100644 (file)
@@ -1,53 +1,53 @@
-using System;\r
-using System.Reflection;\r
-\r
-namespace Test {\r
-       [AttributeUsage (AttributeTargets.All, AllowMultiple = true)]\r
-       public class My1Attribute : Attribute\r
-       {\r
-               public My1Attribute (object o)\r
-               {\r
-                       if (o != null)\r
-                               throw new ApplicationException ();\r
-               }\r
-       }\r
-\r
-       public class My2Attribute : Attribute\r
-       {\r
-               public My2Attribute (string[] s)\r
-               {\r
-                       if (s.Length != 0)\r
-                               throw new ApplicationException ();\r
-               }\r
-       }\r
-\r
-       public class My3Attribute : Attribute\r
-       {\r
-               public My3Attribute (byte b)\r
-               {\r
-                       if (b != 0xFF)\r
-                               throw new ApplicationException ();\r
-               }\r
-       }\r
-\r
-       \r
-       [My3(unchecked((byte)-1))]\r
-       [My1((object)null)]\r
-       [My1(null)]\r
-       [My2(new string[0])]\r
-       public class Test {\r
-               static public int Main() {\r
-                       System.Reflection.MemberInfo info = typeof (Test);\r
-                       object[] attributes = info.GetCustomAttributes (false);\r
-                       \r
-                       if (attributes.Length != 4)\r
-                               return 1;\r
-\r
-                       for (int i = 0; i < attributes.Length; i ++) {\r
-                               Console.WriteLine (attributes [i]);\r
-                       }\r
-                       \r
-                       return 0;\r
-               }\r
-       }\r
-}\r
+using System;
+using System.Reflection;
+
+namespace Test {
+       [AttributeUsage (AttributeTargets.All, AllowMultiple = true)]
+       public class My1Attribute : Attribute
+       {
+               public My1Attribute (object o)
+               {
+                       if (o != null)
+                               throw new ApplicationException ();
+               }
+       }
+
+       public class My2Attribute : Attribute
+       {
+               public My2Attribute (string[] s)
+               {
+                       if (s.Length != 0)
+                               throw new ApplicationException ();
+               }
+       }
+
+       public class My3Attribute : Attribute
+       {
+               public My3Attribute (byte b)
+               {
+                       if (b != 0xFF)
+                               throw new ApplicationException ();
+               }
+       }
+
+       
+       [My3(unchecked((byte)-1))]
+       [My1((object)null)]
+       [My1(null)]
+       [My2(new string[0])]
+       public class Test {
+               public static int Main() {
+                       System.Reflection.MemberInfo info = typeof (Test);
+                       object[] attributes = info.GetCustomAttributes (false);
+                       
+                       if (attributes.Length != 4)
+                               return 1;
+
+                       for (int i = 0; i < attributes.Length; i ++) {
+                               Console.WriteLine (attributes [i]);
+                       }
+                       
+                       return 0;
+               }
+       }
+}