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-10 17:49:22 +0400
committerMarek Safar <marek.safar@gmail.com>2004-05-10 17:49:22 +0400
commitce8edc448dea9793a8c8adf44db37b0090329f14 (patch)
tree936608aa9ecbab0113ab09879532c04ff36c264c /mcs/errors/cs0577-2.cs
parent167ec58d39397ad7485995b95d3b54c2fb701863 (diff)
2004-05-10 Marek Safar <marek.safar@seznam.cz>
* cs0577-2, cs0577-3, * cs1618.cs: 3 new error tests. svn path=/trunk/mcs/; revision=27027
Diffstat (limited to 'mcs/errors/cs0577-2.cs')
-rw-r--r--mcs/errors/cs0577-2.cs9
1 files changed, 9 insertions, 0 deletions
diff --git a/mcs/errors/cs0577-2.cs b/mcs/errors/cs0577-2.cs
new file mode 100644
index 00000000000..337ea223c82
--- /dev/null
+++ b/mcs/errors/cs0577-2.cs
@@ -0,0 +1,9 @@
+// cs0577.cs: Conditional not valid on 'MainClass.~MainClass()' because it is a destructor, operator, or explicit interface implementation
+// Line: 5
+
+class MainClass {
+ [System.Diagnostics.Conditional("DEBUG")]
+ ~MainClass () {}
+
+ public static void Main () {}
+}