Mercurial > projects > ldc
view test/globals2.d @ 297:5de180867c46 trunk
[svn r318] Moved the call to DtoBoolean before the not instruction.
Fixes array_initialization_17_A.
author | ChristianK |
---|---|
date | Mon, 23 Jun 2008 19:19:37 +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)); }