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 4c18eed967, phobos d945686a4.
[official-gcc.git]
/
gcc
/
testsuite
/
gdc.test
/
fail_compilation
/
diag15669.d
blob
682768528d28da5b497adc03bb6a80fae7332cdb
1
/*
2
TEST_OUTPUT:
3
---
4
fail_compilation/diag15669.d(14): Error: variable `__b_field_0` cannot be read at compile time
5
---
6
*/
7
8
alias
AliasSeq
(
A
...) =
A
;
9
10
void
foo
()
11
{
12
AliasSeq
!
int
a
;
13
AliasSeq
!
int
b
;
14
a
[
b
];
15
}