mirror of
https://github.com/openRuyi-Project/gcc.git
synced 2026-10-09 07:22:15 +00:00
2002-03-12 Eric Blake <ebb9@email.byu.edu> * libjava.compile/PR5913.java: Expand test. From-SVN: r50638
11 lines
269 B
Java
11 lines
269 B
Java
class PR5913
|
|
{
|
|
public static void main(String[] args)
|
|
{
|
|
boolean test1 = ("" + 1) instanceof String;
|
|
// This also tests literal parsing, as mentioned in PR 5902.
|
|
boolean test2 = "" + 0x1instanceof String;
|
|
System.exit((test1 && test2) ? 0 : 1);
|
|
}
|
|
}
|