summaryrefslogtreecommitdiffstats
path: root/libjava/testsuite/libjava.compile
diff options
context:
space:
mode:
authortromey <tromey@138bc75d-0d04-0410-961f-82ee72b054a4>2003-05-03 00:33:18 +0000
committertromey <tromey@138bc75d-0d04-0410-961f-82ee72b054a4>2003-05-03 00:33:18 +0000
commit1665d1b961933f9dfe02c661e700b44ffb9d975f (patch)
tree3d2e28b7b87b1f12085d669f3c7fb00f6d8823ad /libjava/testsuite/libjava.compile
parent10597e9a020632f21106ea6434bdfccb1f5e3452 (diff)
downloadppe42-gcc-1665d1b961933f9dfe02c661e700b44ffb9d975f.tar.gz
ppe42-gcc-1665d1b961933f9dfe02c661e700b44ffb9d975f.zip
PR java/10459:
* libjava.compile/pr10459_2.java: New file. * libjava.compile/pr10459.java: New file. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@66410 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libjava/testsuite/libjava.compile')
-rw-r--r--libjava/testsuite/libjava.compile/pr10459.java10
-rw-r--r--libjava/testsuite/libjava.compile/pr10459_2.java10
2 files changed, 20 insertions, 0 deletions
diff --git a/libjava/testsuite/libjava.compile/pr10459.java b/libjava/testsuite/libjava.compile/pr10459.java
new file mode 100644
index 00000000000..5bcc09c7326
--- /dev/null
+++ b/libjava/testsuite/libjava.compile/pr10459.java
@@ -0,0 +1,10 @@
+public class pr10459
+{
+ pr10459 x;
+
+ public void aMethod() throws Throwable
+ {
+ for (; ;x.clone().clone())
+ ;
+ }
+}
diff --git a/libjava/testsuite/libjava.compile/pr10459_2.java b/libjava/testsuite/libjava.compile/pr10459_2.java
new file mode 100644
index 00000000000..5b878ca0c27
--- /dev/null
+++ b/libjava/testsuite/libjava.compile/pr10459_2.java
@@ -0,0 +1,10 @@
+public class pr10459_2
+{
+ pr10459_2 x;
+
+ public void aMethod() throws Throwable
+ {
+ for (; ;x.clone().clone())
+ break;
+ }
+}
OpenPOWER on IntegriCloud