summaryrefslogtreecommitdiffstats
path: root/libjava/testsuite/libjava.compile
diff options
context:
space:
mode:
authortromey <tromey@138bc75d-0d04-0410-961f-82ee72b054a4>1999-04-09 10:45:10 +0000
committertromey <tromey@138bc75d-0d04-0410-961f-82ee72b054a4>1999-04-09 10:45:10 +0000
commit8f4b22b1cba655e02865bc01df384c94f594c7b4 (patch)
treeead758fa9da1a2b0ccfb64b9f58280a2f00ed11c /libjava/testsuite/libjava.compile
parent9fec6063411528651ee433a996aea338caaef253 (diff)
downloadppe42-gcc-8f4b22b1cba655e02865bc01df384c94f594c7b4.tar.gz
ppe42-gcc-8f4b22b1cba655e02865bc01df384c94f594c7b4.zip
* libjava.compile/plusplus.java: New file.
From MoT <Sebastien.Villemot@ens.fr>. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@26310 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libjava/testsuite/libjava.compile')
-rw-r--r--libjava/testsuite/libjava.compile/plusplus.java10
1 files changed, 10 insertions, 0 deletions
diff --git a/libjava/testsuite/libjava.compile/plusplus.java b/libjava/testsuite/libjava.compile/plusplus.java
new file mode 100644
index 00000000000..b8e9bd9fcbb
--- /dev/null
+++ b/libjava/testsuite/libjava.compile/plusplus.java
@@ -0,0 +1,10 @@
+// Test from MoT <Sebastien.Villemot@ens.fr>.
+
+class plusplus {
+ public static void main(String[] args)
+ {
+ int n = 5;
+ int[] gnu = new int[10];
+ gnu[n]++;
+ }
+}
OpenPOWER on IntegriCloud