svn path=/trunk/mcs/; revision=29854
+2004-06-18 Raja R Harinath <rharinath@novell.com>
+
+ * test-272.cs: New test case for the breaking build.
+
2004-06-13 Martin Baulig <martin@ximian.com>
* gen-57.cs: New test.
--- /dev/null
+enum Foo { Bar };
+
+class BazAttribute : System.Attribute
+{
+ public BazAttribute (Foo foo1) {}
+ public Foo foo2;
+ public Foo foo3 { set {} }
+};
+
+class Test
+{
+ [Baz (Foo.Bar)] void f0() {}
+ [Baz ((Foo) 1)] void f1() {}
+ [Baz (foo2 = (Foo) 2)] void f2() {}
+ [Baz (foo3 = (Foo) 3)] void f3() {}
+ static void Main() { }
+}