aboutsummaryrefslogtreecommitdiff
path: root/libjava/testsuite/libjava.compile/PR5913.java
diff options
context:
space:
mode:
Diffstat (limited to 'libjava/testsuite/libjava.compile/PR5913.java')
-rw-r--r--libjava/testsuite/libjava.compile/PR5913.java10
1 files changed, 3 insertions, 7 deletions
diff --git a/libjava/testsuite/libjava.compile/PR5913.java b/libjava/testsuite/libjava.compile/PR5913.java
index 0ae68be..4c0c74d 100644
--- a/libjava/testsuite/libjava.compile/PR5913.java
+++ b/libjava/testsuite/libjava.compile/PR5913.java
@@ -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;
}