Test for degenerate character encoding case.

Doesn't look like it likes this very much at all.
Courtesy the llvm 'lit' test cases.