repo.or.cz
/
mcs.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
* ResolvedReference.cs (.ctor): Set 'OriginalItemSpec' and 'ResolvedFrom',
[mcs.git]
/
tests
/
test-686.cs
blob
0fde8568a34603e432368db49cffcc31f84db232
1
using
System
;
2
3
class
Test
4
{
5
static void
Main
()
6
{
7
string
s
=
"test me"
;
8
foreach
(
char
c
in
s
)
9
Console
.
WriteLine
(
c
);
10
11
Foo
();
12
}
13
14
static void
Foo
()
15
{
16
string
[,]
s
=
new string
[,]
{ { "a", "b" }
,
{ "c", "d" }
};
17
foreach
(
string
c
in
s
)
18
Console
.
WriteLine
(
c
[
0
]);
19
}
20
}