☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
gdc.dg
/
torture
/
init1.d
☽
☼
gcc/testsuite/gdc.dg/torture/init1.d
code
plain
raw
1
// { dg-do run }
2
// { dg-options "-fno-druntime" }
3
// 'a' should not be default initialized to -1.
4
static char a = void;
5
6
extern (C) void main()
7
{
8
assert(a == 0);
9
}