projects
/
mono.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
* cpu-pentium.md basic-float.cs Fixed bug on fpu spills (see bug 54467),
[mono.git]
/
mono
/
tests
/
box.cs
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