aboutsummaryrefslogtreecommitdiff
path: root/libjava/testsuite/libjava.compile/support
diff options
context:
space:
mode:
authorAnthony Green <green@gcc.gnu.org>2000-04-17 05:26:20 +0000
committerAnthony Green <green@gcc.gnu.org>2000-04-17 05:26:20 +0000
commit2b0807d3bcef4b423d618c1c2e4b484e843157f7 (patch)
tree3bbb481e99385fab7f579bc6f51c46004dea4b1b /libjava/testsuite/libjava.compile/support
parent256309e4e97077842e547cf630cdc1fd723085d6 (diff)
downloadgcc-2b0807d3bcef4b423d618c1c2e4b484e843157f7.zip
gcc-2b0807d3bcef4b423d618c1c2e4b484e843157f7.tar.gz
gcc-2b0807d3bcef4b423d618c1c2e4b484e843157f7.tar.bz2
New tests.
From-SVN: r33202
Diffstat (limited to 'libjava/testsuite/libjava.compile/support')
-rw-r--r--libjava/testsuite/libjava.compile/support/PR206_A.java8
-rw-r--r--libjava/testsuite/libjava.compile/support/PR207_A.java13
2 files changed, 21 insertions, 0 deletions
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 0000000..dffd498
--- /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 0000000..1d465f5
--- /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";
+ }
+}