errors at compile time example