I've realised that upon adding a new source file to a project, I almost always start off by inserting a syntax error to check the compiler knows that it's there.