RTTI vs Compilation error example