mirror of
git://gcc.gnu.org/git/gcc.git
synced 2024-12-28 08:24:54 +08:00
17 lines
289 B
Java
17 lines
289 B
Java
|
// Test to see if "blank final" variables work.
|
||
|
// From Mo DeJong <mdejong@cygnus.com>
|
||
|
|
||
|
public class BlankFinal {
|
||
|
static final boolean cond;
|
||
|
|
||
|
static {
|
||
|
try
|
||
|
{
|
||
|
cond = true;
|
||
|
}
|
||
|
catch(Exception e) {
|
||
|
// do nothing
|
||
|
}
|
||
|
}
|
||
|
}
|