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
2009-02-15 Jonathan Chambers <joncham@gmail.com>
[mcs.git]
/
errors
/
cs0469.cs
blob
233167bcba28e7b72087e55aba899b839240b23a
1
// cs0469.cs: The `goto case' value is not implicitly convertible to type `char'
2
// Line: 16
3
// Compiler options: -warnaserror -warn:2
4
5
class
Test
6
{
7
static void
Main
()
8
{
9
char
c
=
'c'
;
10
switch
(
c
)
11
{
12
case
'A'
:
13
break
;
14
15
case
'a'
:
16
goto case
65
;
17
}
18
}
19
}