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:
authorMiguel de Icaza <miguel@gnome.org>2001-11-28 21:15:16 +0300
committerMiguel de Icaza <miguel@gnome.org>2001-11-28 21:15:16 +0300
commit01f5ed55691bf263de4b5ebab21ff357b0af3162 (patch)
tree721428e1a37d6c6edb0878aadc6aed554e26ca8a /mcs/errors/cs0574.cs
parent7dc4f845cd37bf01ddb38c10bf44a9efe2ae8193 (diff)
Add more error tests
svn path=/trunk/mcs/; revision=1462
Diffstat (limited to 'mcs/errors/cs0574.cs')
-rwxr-xr-xmcs/errors/cs0574.cs13
1 files changed, 13 insertions, 0 deletions
diff --git a/mcs/errors/cs0574.cs b/mcs/errors/cs0574.cs
new file mode 100755
index 00000000000..1b88bf0173f
--- /dev/null
+++ b/mcs/errors/cs0574.cs
@@ -0,0 +1,13 @@
+// cs0574.cs: Name of destructor must match name of class:
+// Line: 6
+
+class X {
+
+ ~Y ()
+ {
+ }
+
+ static void Main ()
+ {
+ }
+}