aboutsummaryrefslogtreecommitdiff
path: root/libjava/testsuite/libjava.compile/PR5913.java
blob: 4c0c74d8f11f219c7e429fa6dec84875782de760 (plain)
1
2
3
4
5
6
class PR5913
{
  boolean test1 = ("" + 1) instanceof String;
  // This also tests literal parsing, as mentioned in PR 5902.
  boolean test2 = "" + 0x1instanceof String;
}