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:
authorMartin Baulig <martin@novell.com>2007-04-03 21:27:04 +0400
committerMartin Baulig <martin@novell.com>2007-04-03 21:27:04 +0400
commit2c7bd4f6eef45c9f995973e194faf7c5d2467960 (patch)
treebe9696b3217da905a124adef60079a9484a3502a /mcs/tests/gtest-326.cs
parent78d0b6a92cd735c43972645326d4111d2392ecfe (diff)
2007-04-03 Martin Baulig <martin@ximian.com>
Fix #80632. * statement.cs (Foreach.CollectionForeach.TryType): Use a custom version of TypeManager.IsOverride() which also works with generic types. svn path=/trunk/mcs/; revision=75351
Diffstat (limited to 'mcs/tests/gtest-326.cs')
-rwxr-xr-xmcs/tests/gtest-326.cs15
1 files changed, 15 insertions, 0 deletions
diff --git a/mcs/tests/gtest-326.cs b/mcs/tests/gtest-326.cs
new file mode 100755
index 00000000000..2a396995039
--- /dev/null
+++ b/mcs/tests/gtest-326.cs
@@ -0,0 +1,15 @@
+// Compiler options: /r:gtest-326-lib.dll
+using System;
+
+public class A : C5.ArrayList<int>
+{ }
+
+class X
+{
+ static void Main ()
+ {
+ A x = new A ();
+ foreach (int i in x) {
+ }
+ }
+}