Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/mcs
diff options
context:
space:
mode:
authorRaja R Harinath <harinath@hurrynot.org>2004-06-18 11:39:32 +0400
committerRaja R Harinath <harinath@hurrynot.org>2004-06-18 11:39:32 +0400
commit7d38cc94b0dc52feafc2c47b6eed438a4bfb8bd2 (patch)
treeab38e8f4bd32df1882ca61625f06a2bf2075d291 /mcs
parent2bcaebf1cc347d8f2bf5d4ce2b3f1f0a5b837a9f (diff)
New test case for the breaking build.
svn path=/trunk/mcs/; revision=29854
Diffstat (limited to 'mcs')
-rwxr-xr-xmcs/tests/ChangeLog4
-rw-r--r--mcs/tests/test-272.cs17
2 files changed, 21 insertions, 0 deletions
diff --git a/mcs/tests/ChangeLog b/mcs/tests/ChangeLog
index 939050da494..8dbf63e87d8 100755
--- a/mcs/tests/ChangeLog
+++ b/mcs/tests/ChangeLog
@@ -1,3 +1,7 @@
+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.
diff --git a/mcs/tests/test-272.cs b/mcs/tests/test-272.cs
new file mode 100644
index 00000000000..f5bb7293f72
--- /dev/null
+++ b/mcs/tests/test-272.cs
@@ -0,0 +1,17 @@
+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() { }
+}