diff options
author | Ravi Pratap M <ravi@mono-cvs.ximian.com> | 2002-06-25 23:23:14 +0400 |
---|---|---|
committer | Ravi Pratap M <ravi@mono-cvs.ximian.com> | 2002-06-25 23:23:14 +0400 |
commit | c8264f5263f5b59a54b34b45d7861d84f48f4056 (patch) | |
tree | e2f441240aeab8fa618ad50a3fa03b886041c286 /mcs/errors/cs0255.cs | |
parent | cf615313b4a5a59f0f74ede6c7bd4036094e2ee0 (diff) |
Apply patches from Andrew
svn path=/trunk/mcs/; revision=5452
Diffstat (limited to 'mcs/errors/cs0255.cs')
-rwxr-xr-x | mcs/errors/cs0255.cs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/mcs/errors/cs0255.cs b/mcs/errors/cs0255.cs index 10e2045385e..7fe38d595a0 100755 --- a/mcs/errors/cs0255.cs +++ b/mcs/errors/cs0255.cs @@ -1,13 +1,13 @@ // cs0255.cs: Can not use stackalloc in finally or catch // Line: 10 unsafe class X { - string s; static void Main () { try { } catch { - char *ptr = stackalloc char [10U]; -} + char *ptr = stackalloc char [10]; + ptr = ptr; + } } } |