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
2010-05-19 Jb Evain <jbevain@novell.com>
[mcs.git]
/
tests
/
gtest-collectioninit-03.cs
blob
52c654cdb430545c94b289fd8f5223f7440e33ac
1
using
System
.
Collections
;
2
3
class
X
4
{
5
static int
Main
()
6
{
7
object
x
=
null
;
8
R
(
ref
x
);
9
return
((
Hashtable
)
x
).
Count
==
1
?
0
:
1
;
10
}
11
12
static void
R
(
ref object
o
)
13
{
14
o
=
new
Hashtable
()
{ { 1, 2 }
};
15
}
16
}