view tests/mini/bug37.d @ 913:29c0d1194033

Fix #198 and #199 by making CTFE on static struct initializers work. Renamed SymbolDeclaration to StaticStructInitDeclaration to make its usage clearer.
author Christian Kamm <kamm incasoftware de>
date Sun, 01 Feb 2009 20:20:56 +0100
parents 1bb99290e03a
children
line wrap: on
line source

module bug37;

void main()
{
    char[] a = "hello";
    assert(a !is null);
}