repo.or.cz
/
mono-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
[eglib] In AIX/generic POSIX, handle null addresses better (#17892)
[mono-project.git]
/
mcs
/
tests
/
test-732.cs
blob
04d6f67ab61e8053b2a45d7bfa6e588df75d3707
1
class
C
2
{
3
public static explicit operator int
(
C c
)
4
{
5
return
1
;
6
}
7
8
public static int
op_Implicit
(
C c
,
bool
b
)
9
{
10
return
-
1
;
11
}
12
13
public static int
Main
()
14
{
15
int
res
= (
int
)
new
C
();
16
if
(
res
!=
1
)
17
return
1
;
18
19
return
0
;
20
}
21
}