view tests/mini/arrays19.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 23538d0f0d5b
children
line wrap: on
line source

module mini.arrays19;

extern(C) int printf(char*, ...);

void main()
{
  bool var = ([] is null);
  assert(var);
}