Fix sequence points for foreach/for statements
[mono.git] / mcs / tests / test-255.cs
index 0193ed97ae7b5b2b984625b11bc401b5e400e38a..d2d80b48793407b78fbf0c1a8a63803cb438494c 100644 (file)
@@ -1,7 +1,16 @@
 using System;
 
+[AttributeUsage(AttributeTargets.All)]
+public class TestAttribute: Attribute
+{
+}
+
 [type: Obsolete]
 
 public class C {
+    [return: Test]
+    [Test]
+    void Method () {}
+    
     public static void Main () {}
-}
+}
\ No newline at end of file