Merge pull request #4202 from marek-safar/compression
[mono-project.git] / mcs / tests / test-471.cs
blob771a8e95be6a4c79a0234c24152b32980ea6277e
1 using System;
3 class AAttribute : Attribute
5 public string Value;
7 public AAttribute (string s)
9 Value = s;
13 [A (value)]
14 class MainClass
16 const string value = null;
18 public static int Main ()
20 var attr = typeof (MainClass).GetCustomAttributes (false) [0] as AAttribute;
21 if (attr.Value != null)
22 return 1;
24 return 0;