Added/Updated .gitignore files
[mono.git] / mono / tests / custom-attr.cs
index 39784146e7905ee9d586bc5e642c6946eedd3408..217a2ebaffe7117db1b2b6a9c8aceeaef82202db 100644 (file)
@@ -102,6 +102,10 @@ namespace Test {
                        if (!typeof (Y).IsDefined (typeof (ZInterface), true))
                                return 6;
 
+                       // Test that synthetic methods have no attributes
+                       if (typeof(int[,]).GetConstructor (new Type [] { typeof (int), typeof (int) }).GetCustomAttributes (true).Length != 0)
+                               return 7;
+
                        return 0;
                }
        }