diff options
author | Miguel de Icaza <miguel@gnome.org> | 2003-05-06 01:49:18 +0400 |
---|---|---|
committer | Miguel de Icaza <miguel@gnome.org> | 2003-05-06 01:49:18 +0400 |
commit | ff12eea628a3b03fa06f9eb9e76a5c5a655271be (patch) | |
tree | 06da21eb0141ee73f0974678c0532707b51a795d /mcs/tests/test-154.cs | |
parent | 23b50fc72649dc2c44a1f7bb3c638c7bf185f2ab (diff) |
Improve flow tests
svn path=/trunk/mcs/; revision=14313
Diffstat (limited to 'mcs/tests/test-154.cs')
-rw-r--r-- | mcs/tests/test-154.cs | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/mcs/tests/test-154.cs b/mcs/tests/test-154.cs index f73b25dacaf..669481a309b 100644 --- a/mcs/tests/test-154.cs +++ b/mcs/tests/test-154.cs @@ -390,4 +390,15 @@ public class X return b + c; } + + // + // Tests that the flow analysis is preformed first in the for statement + // and later on the `increment' part of the for + // + static void test26 () + { + int j; + for( int i=0; i<10; i=j ) + j = i+1; + } } |