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
/
intptrcast.cs
blob
c69df851800ff246e6d7b103a2be48dcbaa1d425
1
using
System
;
2
3
public class
Test
{
4
5
public static int
Main
() {
6
IntPtr ip
= (
IntPtr
)
1
;
7
8
if
(
ip
.
ToString
() !=
"1"
)
9
return
1
;
10
11
return
0
;
12
}
13
}
14