repo.or.cz
/
mono.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
2010-01-04 Rodrigo Kumpera <rkumpera@novell.com>
[mono.git]
/
mono
/
tests
/
box.cs
blob
6ca47d62b3ecc36db928a12a09bb66852fbdc3df
1
using
System
;
2
using
System
.
IO
;
3
4
public class
Test
{
5
6
public static int
boxtest
()
7
{
8
int
i
=
123
;
9
object
o
=
i
;
10
11
int
j
= (
int
)
o
;
12
13
if
(
i
!=
j
)
14
return
1
;
15
16
return
0
;
17
}
18
19
public static int
Main
() {
20
string
t
=
123
.
ToString
();
21
22
if
(
t
!=
"123"
)
23
return
1
;
24
25
if
(
boxtest
() !=
0
)
26
return
1
;
27
28
29
return
0
;
30
}
31
}
32
33