diff options
author | Miguel de Icaza <miguel@gnome.org> | 2005-09-23 06:55:23 +0400 |
---|---|---|
committer | Miguel de Icaza <miguel@gnome.org> | 2005-09-23 06:55:23 +0400 |
commit | c250b10105434fbbc57d8af2d119ae61dd4c2851 (patch) | |
tree | 542fd61f52ec469e385529a275a83e02d690c319 /mcs/tests/test-iter-12.cs | |
parent | f1818e4c9817432acdf4ce066399b77604fdba99 (diff) |
Add new test
svn path=/trunk/mcs/; revision=50556
Diffstat (limited to 'mcs/tests/test-iter-12.cs')
-rw-r--r-- | mcs/tests/test-iter-12.cs | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/mcs/tests/test-iter-12.cs b/mcs/tests/test-iter-12.cs new file mode 100644 index 00000000000..88e102ed089 --- /dev/null +++ b/mcs/tests/test-iter-12.cs @@ -0,0 +1,11 @@ +class X { + System.Collections.IEnumerable a () + { + lock (this){ + yield return "a"; + yield return "b"; + } + } + + static void Main () {} +} |