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, druntime 26f049fb26, phobos 330d6a4fd.
[official-gcc.git]
/
gcc
/
testsuite
/
gdc.test
/
compilable
/
issue20618.d
blob
0cc90cff66125fcb10837139501825e1f47ef184
1
// https://issues.dlang.org/show_bug.cgi?id=22198
2
// This test was in fail_compilation, however the change in the compiler has
3
// been reverted to make this code compilable again.
4
void
main
()
5
{
6
int
[
10
]
a
;
7
auto
b
=
a
[
1
.
.12
];
8
auto
c
=
a
[
4
.
.3
];
9
auto
d
=
a
[
0
..$ +
1
];
10
}