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
In class/Microsoft.Build.Tasks/Microsoft.Build.Tasks:
[mcs.git]
/
tests
/
test-456.cs
blob
7d2a243a968a3380b49389f4894073933f9d71c2
1
// Compiler options: -unsafe
2
3
struct
Foo
{
4
public float
f
;
5
public void
foo
()
6
{
7
unsafe
{
8
fixed
(
float
*
pf2
= &
f
) {
9
}
10
}
11
}
12
}
13
14
class
Test
{
15
static void
Main
()
16
{
17
Foo x
=
new
Foo
();
18
x
.
foo
();
19
}
20
}