June 21, 2006
This is an old one:

//----------------------------
void bar ()
{
        foo ();
}

version(none):
void foo () {}
//----------------------------

Compiles without errors when it should fail with "test.d:3: undefined identifier foo", as it indeed does if the colon is removed.

-- 
Carlos Santander Bernal