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
Merge pull request #1861 from saper/home-override
[mono-project.git]
/
mcs
/
tests
/
gtest-570.cs
blob
be9535d1c432ed2cbe2340a30fdc1b719862a40d
1
struct
C
<
T
>
2
{
3
public static implicit operator
C
<
T
> (
T
value
)
4
{
5
return default
(
C
<
T
>);
6
}
7
}
8
9
class
C
10
{
11
public static void
Main
()
12
{
13
C
<
bool
?>
p
=
true
;
14
C
<
int
?>
p2
= (
int
?)
null
;
15
}
16
}