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
remove NotWorking
[mcs.git]
/
tests
/
gtest-379.cs
blob
5d770fdd31f7dfeffbf3745c9cca2833bd99fe94
1
struct
S
2
{
3
public static bool operator
== (
S a
,
S b
)
4
{
5
return true
;
6
}
7
8
public static bool operator
!= (
S a
,
S b
)
9
{
10
return true
;
11
}
12
}
13
14
public class
C
15
{
16
static int
Print
(
S
?
i
)
17
{
18
if
(
i
!=
null
)
19
return
5
;
20
21
return
0
;
22
}
23
24
public static int
Main
()
25
{
26
return
Print
(
null
);
27
}
28
}