☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
gdc.test
/
fail_compilation
/
diag15669.d
☽
☼
gcc/testsuite/gdc.test/fail_compilation/diag15669.d
code
plain
raw
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
}