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:
Diffstat (limited to 'mcs/tests/test-488.cs')
-rw-r--r--mcs/tests/test-488.cs25
1 files changed, 0 insertions, 25 deletions
diff --git a/mcs/tests/test-488.cs b/mcs/tests/test-488.cs
deleted file mode 100644
index 62794ff50b8..00000000000
--- a/mcs/tests/test-488.cs
+++ /dev/null
@@ -1,25 +0,0 @@
-using System.Collections;
-
-class P {
- public int x;
-}
-
-struct Q {
- public P p;
- public Q (P p) { this.p = p; }
-}
-
-class Test {
- static IEnumerable foo () { return null; }
-
- static void Main ()
- {
- IEnumerable f = foo ();
- if (f != null)
- foreach (P p in f)
- p.x = 0;
- if (f != null)
- foreach (Q q in f)
- q.p.x = 0;
- }
-}