On current ~master
C code:
static struct {
const char *name;
} http_strerror_tab[] = {
{ "CB_message_begin" },
{ "CB_url" },
{ "CB_header_field" }
};
Will be translated into D code:
extern(C)
{
extern __gshared _Anonymous_0[3] http_strerror_tab;
}
Compiler says on this module:
$ ldc2 -c test2.d
test2.d(56): Error: undefined identifier `_Anonymous_0`
On current
~masterC code:
Will be translated into D code:
Compiler says on this module: