Add tests for shift operator result type.
Do not crash when printing out an incomplete type.
Fix the result type of the ?: operator.
Cleanup.