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
This commit is contained in:
@@ -1,7 +1,4 @@
|
||||
class PR5902
|
||||
{
|
||||
public static void main(String[] args)
|
||||
{
|
||||
System.exit((019f == 19) ? 0 : 1);
|
||||
}
|
||||
double d = 019f;
|
||||
}
|
||||
|
||||
@@ -1,10 +1,6 @@
|
||||
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);
|
||||
}
|
||||
boolean test1 = ("" + 1) instanceof String;
|
||||
// This also tests literal parsing, as mentioned in PR 5902.
|
||||
boolean test2 = "" + 0x1instanceof String;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user