view test/c.d @ 95:71b8fecdae38 trunk

[svn r99] Removed the ray demo. it's in test already (and not broken there)
author lindquist
date Mon, 12 Nov 2007 06:43:33 +0100
parents c53b6e3fe49a
children
line wrap: on
line source

module c;

void main()
{
    ushort a = 0xFFF0;
    ushort b = 0x0FFF;
    auto t = a & b;
    a &= b;
    assert(t == a);
}