repo.or.cz
/
mono-project
/
dkf.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
EncoderReplacementFallbackBuffer.Reset() did not really reset its internals.
[mono-project/dkf.git]
/
mcs
/
tests
/
test-808.cs
blob
440186210d9487178fc8906b401e0a546f0977e9
1
// Compiler options: -unsafe
2
3
using
System
;
4
5
unsafe class
Program
6
{
7
unsafe 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
}