New test case.

From-SVN: r31951
This commit is contained in:
Anthony Green 2000-02-12 23:09:34 +00:00 committed by Anthony Green
parent 762016bf0a
commit addcdfec59
2 changed files with 23 additions and 0 deletions

View File

@ -1,3 +1,7 @@
2000-02-12 Anthony Green <green@cygnus.com>
* libjava.compile/assignment.java: New file.
2000-02-12 Anthony Green <green@cygnus.com> 2000-02-12 Anthony Green <green@cygnus.com>
* libjava.compile/inner_data.java: New file. * libjava.compile/inner_data.java: New file.

View File

@ -0,0 +1,19 @@
// A definite assignment test.
public class assignment
{
public static Byte foo ()
{
Byte b;
while (true) {
try {
b = Byte.decode ("42");
break;
} catch (NumberFormatException ignored) {}
}
return b;
}
}