Sign in
gnu
/
gcc
/
1f16a020acbea0af26209478990b83b1a1ba3a2b
/
.
/
gcc
/
testsuite
/
gdc.test
/
compilable
/
test1878a.d
blob: 6c8fb6b628ce4db4023ae1f2a5e2252698599168 [
file
] [
log
] [
blame
]
void
main
()
{
ubyte
from
,
to
;
foreach
(
i
;
from
..
to
)
{
static
assert
(
is
(
typeof
(
i
)
==
ubyte
));
}
foreach
(
i
;
'a'
..
'l'
)
{
static
assert
(
is
(
typeof
(
i
)
==
char
));
}
foreach
(
i
;
'א'
..
'ת'
)
{
static
assert
(
is
(
typeof
(
i
)
==
wchar
));
}
}