2
0
mirror of git://gcc.gnu.org/git/gcc.git synced 2024-12-21 03:39:29 +08:00
gcc/libjava/testsuite/libjava.compile/assignment.java
Anthony Green addcdfec59 New test case.
From-SVN: r31951
2000-02-12 23:09:34 +00:00

20 lines
251 B
Java

// 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;
}
}