Switch compilation check