☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
gdc.test
/
fail_compilation
/
ice12581.d
☽
☼
gcc/testsuite/gdc.test/fail_compilation/ice12581.d
code
plain
raw
1
/*
2
TEST_OUTPUT:
3
---
4
fail_compilation/ice12581.d(21): Error: undefined identifier `undef`
5
---
6
*/
7
8
struct S
9
{
10
int[3] a;
11
alias a this;
12
}
13
struct T
14
{
15
S s;
16
alias s this;
17
}
18
void main()
19
{
20
T x;
21
x[] = (undef = 1);
22
}