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
[mono/tests] Fix out of tree build.
[mono-project.git]
/
mcs
/
tests
/
test-808.cs
blob
3ac207dde5c0d805326967a44e98205d9a93df98
1
// Compiler options: -unsafe
2
3
using
System
;
4
5
unsafe class
Program
6
{
7
unsafe public static int
Main
()
8
{
9
float
*
to
=
stackalloc float
[
2
];
10
to
[
0
] =
to
[
1
] =
float
.
MaxValue
;
11
if
(
to
[
0
] !=
float
.
MaxValue
)
12
return
1
;
13
14
if
(
to
[
1
] !=
float
.
MaxValue
)
15
return
2
;
16
17
return
0
;
18
}
19
}