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>2010-09-09 20:10:40 +0400
committerMarek Safar <marek.safar@gmail.com>2010-09-09 20:12:21 +0400
commit0d51dfbe9ea1fe41bdcbb1e283b160acd245a2d6 (patch)
treea1b58cbcf1cb704aa48b2ebedd60d26de68c1f70 /mcs/tests/test-525.cs
parent9fac4416971c3f57446bea5561c50541b74b812e (diff)
Don't recreate top-level destructor block, it carries precious stuff
Diffstat (limited to 'mcs/tests/test-525.cs')
-rw-r--r--mcs/tests/test-525.cs3
1 files changed, 2 insertions, 1 deletions
diff --git a/mcs/tests/test-525.cs b/mcs/tests/test-525.cs
index e0655b25609..f5008717b6e 100644
--- a/mcs/tests/test-525.cs
+++ b/mcs/tests/test-525.cs
@@ -3,7 +3,8 @@ using System;
class X {
~X ()
{
- Console.WriteLine ("DESTRUCTOR!");
+ int id = 1;
+ Console.WriteLine ("DESTRUCTOR!" + id);
}
public static int Test1()