view test/globals2.d @ 224:116cc012409b trunk

[svn r240] do not crash on zero length constraints string
author ChristianK
date Fri, 06 Jun 2008 22:04:41 +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));
}