view test/globals2.d @ 46:6a54b832369a trunk

[svn r50]
author lindquist
date Fri, 19 Oct 2007 16:37: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));
}