Commit 08bcc159 by Eric Blake Committed by Eric Blake

For PR java/5902:

2002-03-15  Eric Blake  <ebb9@email.byu.edu>

	For PR java/5902:
	* libjava.compile/PR5902.java: Does not need to execute.
	For PR java/5913:
	* libjava.compile/PR5913.java: Ditto.

From-SVN: r50829
parent a42519be
2002-03-15 Eric Blake <ebb9@email.byu.edu>
For PR java/5902:
* libjava.compile/PR5902.java: Does not need to execute.
For PR java/5913:
* libjava.compile/PR5913.java: Ditto.
2002-03-12 Tom Tromey <tromey@redhat.com> 2002-03-12 Tom Tromey <tromey@redhat.com>
Test for PR java/5848: Test for PR java/5848:
......
class PR5902 class PR5902
{ {
public static void main(String[] args) double d = 019f;
{
System.exit((019f == 19) ? 0 : 1);
}
} }
class PR5913 class PR5913
{ {
public static void main(String[] args) boolean test1 = ("" + 1) instanceof String;
{ // This also tests literal parsing, as mentioned in PR 5902.
boolean test1 = ("" + 1) instanceof String; boolean test2 = "" + 0x1instanceof String;
// This also tests literal parsing, as mentioned in PR 5902.
boolean test2 = "" + 0x1instanceof String;
System.exit((test1 && test2) ? 0 : 1);
}
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment