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
[System] Throw PlatformNotSupportedException if NetworkInformation.NetworkChange...
[mono-project.git]
/
mcs
/
tests
/
test-821.cs
blob
cef7b42fdb6ed3e1b25c762f26915196b320194c
1
// Compiler options: -unsafe
2
3
unsafe struct
S
4
{
5
T Test
<
T
> ()
6
{
7
return default
(
T
);
8
}
9
10
public void
M
()
11
{
12
fixed
(
S
*
ptr
= &
this
)
13
ptr
->
Test
<
string
> ();
14
}
15
}
16
17
class
A
18
{
19
public static int
Main
()
20
{
21
new
S
().
M
();
22
return
0
;
23
}
24
}