diff options
author | Raja R Harinath <harinath@hurrynot.org> | 2008-04-22 17:26:40 +0400 |
---|---|---|
committer | Raja R Harinath <harinath@hurrynot.org> | 2008-04-22 17:26:40 +0400 |
commit | 1c5a15fb499731e8d24d3ff2de43c40242d93a55 (patch) | |
tree | 5e241d08fb3c3479977ada22fa33a0a60dfff986 /mcs/tests/test-634.cs | |
parent | 0b28c1a0c12865ac0f4e44aca487a807e37322c1 (diff) |
Fix #351102
* anonymous.cs (AnonymousMethodExpression.DoResolve): Mark as
needing final 'ret' instruction.
svn path=/trunk/mcs/; revision=101436
Diffstat (limited to 'mcs/tests/test-634.cs')
-rw-r--r-- | mcs/tests/test-634.cs | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/mcs/tests/test-634.cs b/mcs/tests/test-634.cs new file mode 100644 index 00000000000..62c64a0d8be --- /dev/null +++ b/mcs/tests/test-634.cs @@ -0,0 +1,20 @@ +public class Test +{ + static public void TestFunc () + { + return; + + string testStr; + + System.AppDomain.CurrentDomain.AssemblyLoad += delegate +(object Sender, System.AssemblyLoadEventArgs e) + { + testStr = "sss"; + }; + } + + public static void Main (string[] args) + { + TestFunc (); + } +} |