[w32file] Move MonoIO.Find{First,Next,Close} to managed
[mono.git] / mcs / tests / test-471.cs
1 using System;
2
3 class AAttribute : Attribute
4 {
5         public string Value;
6         
7         public AAttribute (string s)
8         {
9                 Value = s;
10         }
11 }
12
13 [A (value)]
14 class MainClass
15 {
16         const string value = null;
17         
18         public static int Main ()
19         {
20                 var attr = typeof (MainClass).GetCustomAttributes (false) [0] as AAttribute;
21                 if (attr.Value != null)
22                         return 1;
23                 
24                 return 0;
25         }
26