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-22 00:17:53 +0300
committerMiguel de Icaza <miguel@gnome.org>2001-11-22 00:17:53 +0300
commit1970d5d6f75d27a0425e65eff55b2f13f09286b8 (patch)
treed9d387d2d5f0fa426da02dc8517c5ae08abd820e /mcs/tests/test-44.cs
parent7a86c63770aa1beb76227983da6b4bd973358af4 (diff)
2001-11-21 Miguel de Icaza <miguel@ximian.com>
* cs-parser.jay (for_statement): Reworked the way For works: now we declare manually any variables that are introduced in for_initializer to solve the problem of having out-of-band code emition (that is what got for broken). (declaration_statement): Perform the actual variable declaration that used to be done in local_variable_declaration here. (local_variable_declaration): Do not declare anything, just pass the information on a DictionaryEntry svn path=/trunk/mcs/; revision=1408
Diffstat (limited to 'mcs/tests/test-44.cs')
-rwxr-xr-xmcs/tests/test-44.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/mcs/tests/test-44.cs b/mcs/tests/test-44.cs
index aa8e24e24c1..de1abf5b099 100755
--- a/mcs/tests/test-44.cs
+++ b/mcs/tests/test-44.cs
@@ -17,7 +17,7 @@ class X {
return total;
}
- static void Main ()
+ static int Main ()
{
int [,] b = new int [10,10];