Merge pull request #5714 from alexischr/update_bockbuild
[mono.git] / mcs / tests / test-819.cs
1 using System;
2
3 public class AAttribute : Attribute
4 {
5         [AAttribute (1)]
6         public class BAttribute : AAttribute
7         {
8                 public BAttribute ()
9                         : base ()
10                 {
11                 }
12
13                 public BAttribute (int a)
14                         : base (a)
15                 {
16                 }
17         }
18
19         public AAttribute ()
20         {
21         }
22
23         protected AAttribute (int a)
24         {
25         }
26
27         public static int Main ()
28         {
29                 typeof (BAttribute).GetCustomAttributes (true);
30                 return 0;
31         }
32 }