projects
/
mono.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Add CopyPath, CopyPathFlat, AppendPath
[mono.git]
/
mcs
/
tests
/
test-271.cs
1
using System;
2
using System.Collections;
3
4
class T {
5
struct C : IEnumerable {
6
public IEnumerator GetEnumerator ()
7
{
8
return new ArrayList ().GetEnumerator ();
9
}
10
}
11
12
static C X ()
13
{
14
return new C ();
15
}
16
17
static void Main ()
18
{
19
foreach (object o in X ())
20
;
21
}
22
}