New tests.
From-SVN: r33202
This commit is contained in:
parent
256309e4e9
commit
2b0807d3bc
7
libjava/testsuite/libjava.compile/PR206.java
Normal file
7
libjava/testsuite/libjava.compile/PR206.java
Normal file
@ -0,0 +1,7 @@
|
||||
class PR206 {
|
||||
|
||||
PR206 (String s)
|
||||
{
|
||||
support.PR206_A x;
|
||||
}
|
||||
}
|
6
libjava/testsuite/libjava.compile/PR207.java
Normal file
6
libjava/testsuite/libjava.compile/PR207.java
Normal file
@ -0,0 +1,6 @@
|
||||
class PR207 {
|
||||
PR207 (String s)
|
||||
{
|
||||
System.out.println (s + support.PR207_A.hello());
|
||||
}
|
||||
}
|
8
libjava/testsuite/libjava.compile/support/PR206_A.java
Normal file
8
libjava/testsuite/libjava.compile/support/PR206_A.java
Normal file
@ -0,0 +1,8 @@
|
||||
package support;
|
||||
|
||||
public final class PR206_A {
|
||||
static
|
||||
{
|
||||
String s = System.getProperty ("soylent");
|
||||
}
|
||||
}
|
13
libjava/testsuite/libjava.compile/support/PR207_A.java
Normal file
13
libjava/testsuite/libjava.compile/support/PR207_A.java
Normal file
@ -0,0 +1,13 @@
|
||||
package support;
|
||||
|
||||
public final class PR207_A {
|
||||
static
|
||||
{
|
||||
String s = System.getProperty ("soylent");
|
||||
}
|
||||
|
||||
public static String hello ()
|
||||
{
|
||||
return "green";
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user