repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
d: Merge upstream dmd 568496d5b, druntime 178c44ff, phobos 574bf883b.
[official-gcc.git]
/
gcc
/
testsuite
/
gdc.test
/
compilable
/
b17111.d
blob
9e79a20780c0129de3c122ea2400250534c148fc
1
alias
TestType
=
ubyte
;
2
3
void
test
(
immutable
TestType a
,
immutable
TestType b
,
TestType c
)
4
{
5
switch
(
c
)
6
{
7
case
a
:
break
;
8
case
(
cast
(
ushort
)
b
):
break
;
9
default
:
assert
(
false
);
10
}
11
}