projects
/
mono.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
use new GetOriginalType method
[mono.git]
/
mcs
/
tests
/
test-456.cs
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
}