summaryrefslogtreecommitdiff
path: root/libjava/testsuite
diff options
context:
space:
mode:
authortromey <tromey@138bc75d-0d04-0410-961f-82ee72b054a4>2003-11-11 20:11:43 +0000
committertromey <tromey@138bc75d-0d04-0410-961f-82ee72b054a4>2003-11-11 20:11:43 +0000
commit4a114e482d1682ee59ccf2ddddef88c9ad9a200c (patch)
tree0f99d071eeb103c85eb5d452913df9bf0aaf3501 /libjava/testsuite
parentd570f2e9ecb174ce2e28624245dbc7d3070ab2d4 (diff)
downloadgcc-4a114e482d1682ee59ccf2ddddef88c9ad9a200c.tar.gz
For PR java/12915:
* libjava.lang/PR12915.java: New file. * libjava.lang/PR12915.out: New file. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73460 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libjava/testsuite')
-rw-r--r--libjava/testsuite/ChangeLog4
-rw-r--r--libjava/testsuite/libjava.lang/PR12915.java6
-rw-r--r--libjava/testsuite/libjava.lang/PR12915.out1
3 files changed, 11 insertions, 0 deletions
diff --git a/libjava/testsuite/ChangeLog b/libjava/testsuite/ChangeLog
index 4b615ab76dc..0b9aef548fe 100644
--- a/libjava/testsuite/ChangeLog
+++ b/libjava/testsuite/ChangeLog
@@ -1,5 +1,9 @@
2003-11-11 Tom Tromey <tromey@redhat.com>
+ For PR java/12915:
+ * libjava.lang/PR12915.java: New file.
+ * libjava.lang/PR12915.out: New file.
+
* libjava.jacks/jacks.exp (gcj_jacks_write): Enable "assert"
constraint.
* libjava.jacks/jacks.xfail: Added new xfails.
diff --git a/libjava/testsuite/libjava.lang/PR12915.java b/libjava/testsuite/libjava.lang/PR12915.java
new file mode 100644
index 00000000000..3a155f6e17e
--- /dev/null
+++ b/libjava/testsuite/libjava.lang/PR12915.java
@@ -0,0 +1,6 @@
+public class PR12915 {
+ public static void main(String[] args)
+ {
+ System.out.println(((String) null) + "");
+ }
+}
diff --git a/libjava/testsuite/libjava.lang/PR12915.out b/libjava/testsuite/libjava.lang/PR12915.out
new file mode 100644
index 00000000000..19765bd501b
--- /dev/null
+++ b/libjava/testsuite/libjava.lang/PR12915.out
@@ -0,0 +1 @@
+null