New test.
[mono.git] / mcs / tests / test-272.cs
index f5bb7293f727dc2d08b76b364847483dbb0906e0..ea06b69faa2a824f1a29eab72e1e9fd26e8b4944 100644 (file)
@@ -2,9 +2,10 @@ enum Foo { Bar };
 
 class BazAttribute : System.Attribute 
 {
+       public BazAttribute () {}
        public BazAttribute (Foo foo1) {}
        public Foo foo2;
-       public Foo foo3 { set {} }
+       public Foo foo3 { set {} get { return Foo.Bar; } }
 };
 
 class Test