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 System.Collections.Generic:
[mcs.git]
/
tests
/
test-693.cs
blob
979bb51041c76c6cd43dc73dd81aa55217de01be
1
using
System
;
2
3
public class
ConstTest
4
{
5
public static int
Main
()
6
{
7
const float
num
= -
2
f
;
8
Console
.
WriteLine
(
"
{0}
,
{1}
"
,
num
, -
num
);
9
return
num
!= -
num
?
0
:
1
;
10
}
11
}