From a08c72fe458a43c891fb7e0071aad7de908eba29 Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Fri, 9 Apr 1999 10:45:10 +0000 Subject: [PATCH] plusplus.java: New file. * libjava.compile/plusplus.java: New file. From MoT . From-SVN: r26310 --- libjava/testsuite/ChangeLog | 5 +++++ libjava/testsuite/Makefile.in | 6 ++++++ libjava/testsuite/libjava.compile/plusplus.java | 10 ++++++++++ 3 files changed, 21 insertions(+) create mode 100644 libjava/testsuite/libjava.compile/plusplus.java diff --git a/libjava/testsuite/ChangeLog b/libjava/testsuite/ChangeLog index d7559a238b8..2c51ec86a80 100644 --- a/libjava/testsuite/ChangeLog +++ b/libjava/testsuite/ChangeLog @@ -1,3 +1,8 @@ +1999-04-09 Tom Tromey + + * libjava.compile/plusplus.java: New file. + From MoT . + 1999-04-06 Tom Tromey * libjava.mauve/mauve.exp (test_mauve_sim): Reference diff --git a/libjava/testsuite/Makefile.in b/libjava/testsuite/Makefile.in index 764c148a3ca..ce37a4ddef0 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 00000000000..b8e9bd9fcbb --- /dev/null +++ b/libjava/testsuite/libjava.compile/plusplus.java @@ -0,0 +1,10 @@ +// Test from MoT . + +class plusplus { + public static void main(String[] args) + { + int n = 5; + int[] gnu = new int[10]; + gnu[n]++; + } +}