Mercurial > projects > ldc
view test/globals2.d @ 25:12fd8ce55d9c trunk
[svn r29] * Fixed structs inside struct literals
author | lindquist |
---|---|
date | Thu, 04 Oct 2007 10:22:56 +0200 |
parents | a6360e68134a |
children |
line wrap: on
line source
module globals2; template Bool(bool b) { const bool Bool = b; } void main() { assert(Bool!(true)); assert(!Bool!(false)); }