aboutsummaryrefslogtreecommitdiff
path: root/libjava
diff options
context:
space:
mode:
Diffstat (limited to 'libjava')
-rw-r--r--libjava/testsuite/ChangeLog5
-rw-r--r--libjava/testsuite/Makefile.in6
-rw-r--r--libjava/testsuite/libjava.compile/plusplus.java10
3 files changed, 21 insertions, 0 deletions
diff --git a/libjava/testsuite/ChangeLog b/libjava/testsuite/ChangeLog
index d7559a2..2c51ec8 100644
--- a/libjava/testsuite/ChangeLog
+++ b/libjava/testsuite/ChangeLog
@@ -1,3 +1,8 @@
+1999-04-09 Tom Tromey <tromey@cygnus.com>
+
+ * libjava.compile/plusplus.java: New file.
+ From MoT <Sebastien.Villemot@ens.fr>.
+
1999-04-06 Tom Tromey <tromey@cygnus.com>
* libjava.mauve/mauve.exp (test_mauve_sim): Reference
diff --git a/libjava/testsuite/Makefile.in b/libjava/testsuite/Makefile.in
index 764c148..ce37a4d 100644
--- a/libjava/testsuite/Makefile.in
+++ b/libjava/testsuite/Makefile.in
@@ -71,17 +71,22 @@ COMPPATH = @COMPPATH@
CPP = @CPP@
CXX = @CXX@
CXXCPP = @CXXCPP@
+DLLTOOL = @DLLTOOL@
EH_COMMON_INCLUDE = @EH_COMMON_INCLUDE@
EXEEXT = @EXEEXT@
GCDEPS = @GCDEPS@
GCINCS = @GCINCS@
GCLIBS = @GCLIBS@
GCOBJS = @GCOBJS@
+LD = @LD@
LIBGCJ_CFLAGS = @LIBGCJ_CFLAGS@
LIBGCJ_CXXFLAGS = @LIBGCJ_CXXFLAGS@
LIBGCJ_JAVAFLAGS = @LIBGCJ_JAVAFLAGS@
+LIBTOOL = @LIBTOOL@
+LN_S = @LN_S@
MAINT = @MAINT@
MAKEINFO = @MAKEINFO@
+NM = @NM@
PACKAGE = @PACKAGE@
PERL = @PERL@
RANLIB = @RANLIB@
@@ -229,6 +234,7 @@ clean-am: clean-generic mostlyclean-am
clean: clean-am
distclean-am: distclean-generic clean-am
+ -rm -f libtool
distclean: distclean-am
diff --git a/libjava/testsuite/libjava.compile/plusplus.java b/libjava/testsuite/libjava.compile/plusplus.java
new file mode 100644
index 0000000..b8e9bd9
--- /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]++;
+ }
+}