summaryrefslogtreecommitdiffstats
path: root/libjava/testsuite
diff options
context:
space:
mode:
authortromey <tromey@138bc75d-0d04-0410-961f-82ee72b054a4>2004-09-23 16:24:42 +0000
committertromey <tromey@138bc75d-0d04-0410-961f-82ee72b054a4>2004-09-23 16:24:42 +0000
commit8f7e85d9a4736348c1541b1c0a3674c874851ccf (patch)
tree4dd6880d75a472129696e1c9d5837c766c2bbf5c /libjava/testsuite
parent4bf98cca807a12b67139ddf36f39b85235e4bb8c (diff)
downloadppe42-gcc-8f7e85d9a4736348c1541b1c0a3674c874851ccf.tar.gz
ppe42-gcc-8f7e85d9a4736348c1541b1c0a3674c874851ccf.zip
PR java/17329:
* testsuite/libjava.compile/pr17329.java: New file. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@87960 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libjava/testsuite')
-rw-r--r--libjava/testsuite/libjava.compile/pr17329.java14
1 files changed, 14 insertions, 0 deletions
diff --git a/libjava/testsuite/libjava.compile/pr17329.java b/libjava/testsuite/libjava.compile/pr17329.java
new file mode 100644
index 00000000000..fa31f18a726
--- /dev/null
+++ b/libjava/testsuite/libjava.compile/pr17329.java
@@ -0,0 +1,14 @@
+// gcj had a problem with "SomeClass.field++" when gimplifying.
+
+class helper
+{
+ static int value;
+}
+
+public class pr17329
+{
+ static void doit ()
+ {
+ helper.value += 2;
+ }
+}
OpenPOWER on IntegriCloud