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
diff options
context:
space:
mode:
authorMarek Safar <marek.safar@gmail.com>2004-05-03 11:21:41 +0400
committerMarek Safar <marek.safar@gmail.com>2004-05-03 11:21:41 +0400
commitc1fb15a59e1981655f336aa7d3fbd7ca8eba5cbd (patch)
tree2dda68f9e27a3bc10cb19321c2220c908f24fffa /mcs/errors/cs0579-3.cs
parent5f379ccd9ffae0f33187dfd7f1917a8b2ba8ce37 (diff)
2004-05-03 Marek Safar <marek.safar@seznam.cz>
* cs0579-3.cs, * cs0592-7.cs, * cs0626.cs: 3 new error tests. svn path=/trunk/mcs/; revision=26579
Diffstat (limited to 'mcs/errors/cs0579-3.cs')
-rw-r--r--mcs/errors/cs0579-3.cs12
1 files changed, 12 insertions, 0 deletions
diff --git a/mcs/errors/cs0579-3.cs b/mcs/errors/cs0579-3.cs
new file mode 100644
index 00000000000..9cb2e718a86
--- /dev/null
+++ b/mcs/errors/cs0579-3.cs
@@ -0,0 +1,12 @@
+// cs0579.cs : Duplicate 'Obsolete' attribute
+// Line : 8
+
+using System;
+
+class MainClass {
+ [Obsolete]
+ [Obsolete]
+ static void Main()
+ {
+ }
+}