view test/globals2.d @ 218:df641a27e9fd trunk

[svn r234] Fixed: missed a few bogus #ifs in last revision.
author lindquist
date Thu, 05 Jun 2008 06:43:34 +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));
}