Test case for gcj/208
From-SVN: r33204
This commit is contained in:
parent
7828f83014
commit
7ffcae80d0
2 changed files with 20 additions and 0 deletions
|
@ -1,3 +1,7 @@
|
||||||
|
2000-04-16 Anthony Green <green@redhat.com>
|
||||||
|
|
||||||
|
* libjava.compile/PR208.java: New file.
|
||||||
|
|
||||||
2000-04-16 Anthony Green <green@redhat.com>
|
2000-04-16 Anthony Green <green@redhat.com>
|
||||||
|
|
||||||
* libjava.compile/PR207.java: New file.
|
* libjava.compile/PR207.java: New file.
|
||||||
|
|
16
libjava/testsuite/libjava.compile/PR208.java
Normal file
16
libjava/testsuite/libjava.compile/PR208.java
Normal file
|
@ -0,0 +1,16 @@
|
||||||
|
public class PR208
|
||||||
|
{
|
||||||
|
public String toString ()
|
||||||
|
{
|
||||||
|
StringBuffer sb = new StringBuffer("");
|
||||||
|
|
||||||
|
sb.append (new java.util.Date().getTime() / 1000);
|
||||||
|
|
||||||
|
try {
|
||||||
|
}
|
||||||
|
catch (java.io.IOException e) {
|
||||||
|
}
|
||||||
|
|
||||||
|
return sb.toString();
|
||||||
|
}
|
||||||
|
}
|
Loading…
Add table
Add a link
Reference in a new issue