mirror of
git://gcc.gnu.org/git/gcc.git
synced 2024-12-23 14:19:30 +08:00
20 lines
251 B
Java
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;
|
||
|
}
|
||
|
}
|
||
|
|