aboutsummaryrefslogtreecommitdiff
path: root/libjava/testsuite
diff options
context:
space:
mode:
authorTom Tromey <tromey@cygnus.com>2000-05-23 22:38:07 +0000
committerTom Tromey <tromey@gcc.gnu.org>2000-05-23 22:38:07 +0000
commita84b5d643606397f05a638c1341117afe52daecf (patch)
tree2431380c87ba44a364fe85ab3613a1cb4148f3e5 /libjava/testsuite
parent665bfbb0b40775d40839a093d70246a973d0bd1d (diff)
downloadgcc-a84b5d643606397f05a638c1341117afe52daecf.zip
gcc-a84b5d643606397f05a638c1341117afe52daecf.tar.gz
gcc-a84b5d643606397f05a638c1341117afe52daecf.tar.bz2
* libjava.compile/PR238.java: New file. For PR gcj/238.
From-SVN: r34116
Diffstat (limited to 'libjava/testsuite')
-rw-r--r--libjava/testsuite/ChangeLog2
-rw-r--r--libjava/testsuite/libjava.compile/PR238.java9
2 files changed, 11 insertions, 0 deletions
diff --git a/libjava/testsuite/ChangeLog b/libjava/testsuite/ChangeLog
index bf82ab5..1ef6832 100644
--- a/libjava/testsuite/ChangeLog
+++ b/libjava/testsuite/ChangeLog
@@ -1,5 +1,7 @@
2000-05-23 Tom Tromey <tromey@cygnus.com>
+ * libjava.compile/PR238.java: New file. For PR gcj/238.
+
* libjava.lang/stringconst.out: New file.
* libjava.lang/stringconst.java: New file.
diff --git a/libjava/testsuite/libjava.compile/PR238.java b/libjava/testsuite/libjava.compile/PR238.java
new file mode 100644
index 0000000..b876524
--- /dev/null
+++ b/libjava/testsuite/libjava.compile/PR238.java
@@ -0,0 +1,9 @@
+public class PR238
+{
+ void foo(A a)
+ {
+ a.toString();
+ }
+
+ class A {}
+}