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
add comment
[mcs.git]
/
tests
/
gtest-375.cs
blob
2060c6056bdeaf21282558a0f71094132418af8f
1
using
System
;
2
3
public class
X
{
4
public static bool
Compute
(
int
x
)
5
{
6
return
x
==
null
;
7
}
8
9
public static bool
Compute2
(
int
x
)
10
{
11
return
x
!=
null
;
12
}
13
14
static int
Main
()
15
{
16
if
(
Compute
(
1
) !=
false
)
17
return
1
;
18
19
if
(
Compute2
(
1
) !=
true
)
20
return
1
;
21
22
return
0
;
23
}
24
}