diff options
author | Marek Safar <marek.safar@gmail.com> | 2010-09-09 16:54:32 +0400 |
---|---|---|
committer | Marek Safar <marek.safar@gmail.com> | 2010-09-09 17:01:00 +0400 |
commit | 1384869c80096767df8693acb067bac71ea6f6a8 (patch) | |
tree | 58e0b1f3b6f42083213f4251933612f224ba97a2 /mcs/tests/test-629.cs | |
parent | 8b8025e1d85fa6162a51f95c611628bb2b03e855 (diff) |
The first push to make flow-analysis work for complex blocks.
All blocks are now strictly hierachical which greatly simplifies many
things and fixes many subtle bugs with local names. Removing the block
cross references helps scalling when compiling deeply nested blocks or
large method bodies including linq. Prepared possible dynamic statements
to work with variable declarators.
Diffstat (limited to 'mcs/tests/test-629.cs')
-rw-r--r-- | mcs/tests/test-629.cs | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/mcs/tests/test-629.cs b/mcs/tests/test-629.cs deleted file mode 100644 index 81133012a75..00000000000 --- a/mcs/tests/test-629.cs +++ /dev/null @@ -1,14 +0,0 @@ -using System.Collections; -class Foo { - static public IEnumerable foo () - { - try { yield break; } catch { } finally { } - } - static int Main () - { - int i = 0; - foreach (object o in foo ()) - ++i; - return i; - } -} |