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
update
[mcs.git]
/
tests
/
gtest-413.cs
blob
4b85aae0d823eac2ccb53421d0ef74d28c97d80e
1
using
System
;
2
3
struct
S
4
{
5
public static long operator
+ (
S f
,
long
n
)
6
{
7
return
n
;
8
}
9
}
10
11
class
Test
12
{
13
static int
Main
()
14
{
15
int
?
n
=
1
;
16
S f
=
new
S
();
17
18
return
(
f
+
n
) !=
1
?
1
:
0
;
19
}
20
}