New test.
[mono.git] / mcs / errors / cs0579-10.cs
1 // cs0579-10.cs: The attribute `SimpleAttribute' cannot be applied multiple times\r
2 // Line : 18\r
3 \r
4 using System;\r
5 \r
6 [AttributeUsage (AttributeTargets.All, AllowMultiple = false)]\r
7 public class SimpleAttribute : Attribute {\r
8 \r
9         public SimpleAttribute ()\r
10         {\r
11         }\r
12         \r
13 }\r
14 \r
15 [Simple]\r
16 public partial class Blah { }\r
17 \r
18 [Simple]\r
19 public partial class Blah { }\r
20 \r