From 89194e46275c3f048e7f955bb22084754d28269f Mon Sep 17 00:00:00 2001 From: green <green@138bc75d-0d04-0410-961f-82ee72b054a4> Date: Mon, 17 Apr 2000 05:26:20 +0000 Subject: [PATCH] New tests. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33202 138bc75d-0d04-0410-961f-82ee72b054a4 --- libjava/testsuite/libjava.compile/PR206.java | 7 +++++++ libjava/testsuite/libjava.compile/PR207.java | 6 ++++++ .../testsuite/libjava.compile/support/PR206_A.java | 8 ++++++++ .../testsuite/libjava.compile/support/PR207_A.java | 13 +++++++++++++ 4 files changed, 34 insertions(+) create mode 100644 libjava/testsuite/libjava.compile/PR206.java create mode 100644 libjava/testsuite/libjava.compile/PR207.java create mode 100644 libjava/testsuite/libjava.compile/support/PR206_A.java create mode 100644 libjava/testsuite/libjava.compile/support/PR207_A.java diff --git a/libjava/testsuite/libjava.compile/PR206.java b/libjava/testsuite/libjava.compile/PR206.java new file mode 100644 index 000000000000..018391271ad1 --- /dev/null +++ b/libjava/testsuite/libjava.compile/PR206.java @@ -0,0 +1,7 @@ +class PR206 { + + PR206 (String s) + { + support.PR206_A x; + } +} diff --git a/libjava/testsuite/libjava.compile/PR207.java b/libjava/testsuite/libjava.compile/PR207.java new file mode 100644 index 000000000000..97b10f0aa273 --- /dev/null +++ b/libjava/testsuite/libjava.compile/PR207.java @@ -0,0 +1,6 @@ +class PR207 { + PR207 (String s) + { + System.out.println (s + support.PR207_A.hello()); + } +} diff --git a/libjava/testsuite/libjava.compile/support/PR206_A.java b/libjava/testsuite/libjava.compile/support/PR206_A.java new file mode 100644 index 000000000000..dffd498286bd --- /dev/null +++ b/libjava/testsuite/libjava.compile/support/PR206_A.java @@ -0,0 +1,8 @@ +package support; + +public final class PR206_A { + static + { + String s = System.getProperty ("soylent"); + } +} diff --git a/libjava/testsuite/libjava.compile/support/PR207_A.java b/libjava/testsuite/libjava.compile/support/PR207_A.java new file mode 100644 index 000000000000..1d465f5222ec --- /dev/null +++ b/libjava/testsuite/libjava.compile/support/PR207_A.java @@ -0,0 +1,13 @@ +package support; + +public final class PR207_A { + static + { + String s = System.getProperty ("soylent"); + } + + public static String hello () + { + return "green"; + } +} -- GitLab