☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
gdc.test
/
compilable
/
test21876.d
☽
☼
gcc/testsuite/gdc.test/compilable/test21876.d
code
plain
raw
1
// https://issues.dlang.org/show_bug.cgi?id=21876
2
3
auto test1()
4
{
5
int[0] a;
6
return a;
7
}
8
9
auto test2()
10
{
11
static int[0] a;
12
return a;
13
}
14
15
enum x = test1();
16
enum y = test2();
17
static assert(x == y && y == []);