There will be a compile-time error because input streams don't support output operations such as <<.