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
2007-05-25 Jonathan Chambers <joncham@gmail.com>
[mcs.git]
/
tests
/
test-168.cs
blob
328e299bf82770d18614253e0db1f2f54b20ad32
1
using
System
;
2
3
struct
X
{
4
static public implicit operator string
(
X x
)
5
{
6
return
"x"
;
7
}
8
9
}
10
11
class
Test
{
12
13
static public int
Main
()
14
{
15
X x
=
new
X
();
16
Console
.
WriteLine
(
x
);
17
18
return
0
;
19
}
20
}
21