Merge pull request #5675 from mono/glib-debug-symbols
[mono.git] / mcs / tests / test-272.cs
index e4c2d458b248ffb9a6d321ca60b2623a9c004389..3afbfe5f95db20417ed500688ff4b8b30e4f6644 100644 (file)
@@ -5,7 +5,7 @@ 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 
@@ -14,5 +14,5 @@ class Test
        [Baz ((Foo) 1)]        void f1() {}
        [Baz (foo2 = (Foo) 2)] void f2() {}
        [Baz (foo3 = (Foo) 3)] void f3() {}
-       static void Main() { }
+       public static void Main() { }
 }