Test case for literal conversion bug