view test/globals2.d @ 166:a2c4dc388d5e trunk

[svn r182] Oups, the PGM output for the raytracer demo was borked.
author lindquist
date Tue, 06 May 2008 00:03:55 +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));
}