mirror of
https://github.com/gcc-mirror/gcc.git
synced 2026-05-06 23:25:24 +02: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;
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|