PR5913.java 171 Bytes
Newer Older
1 2
class PR5913
{
Eric Blake committed
3 4 5
  boolean test1 = ("" + 1) instanceof String;
  // This also tests literal parsing, as mentioned in PR 5902.
  boolean test2 = "" + 0x1instanceof String;
6
}