mirror of
git://gcc.gnu.org/git/gcc.git
synced 2024-12-27 03:49:03 +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
|
||
|
}
|
||
|
}
|
||
|
}
|