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
* ExternTable.cs (ExternTable.GetModuleTypeRef): 'module_table' can be
[mcs.git]
/
errors
/
cs0652-4.cs
blob
44e70339ce11f5b441e61ba1d813a08687ddd8f0
1
// cs0652-4.cs : Comparison to integral constant is useless; the constant is outside the range of type `short'
2
// Line: 11
3
// Compiler options: /warn:2 /warnaserror
4
using
System
;
5
6
public class
CS0652
{
7
8
public static void
Main
()
9
{
10
short
us
=
0
;
11
if
(
us
== -
10000000
)
12
Console
.
WriteLine
(
":("
);
13
else
14
Console
.
WriteLine
(
":)"
);
15
}
16
}
17