mirror of
git://gcc.gnu.org/git/gcc.git
synced 2024-12-25 04:29:16 +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
|
||
|
}
|
||
|
}
|
||
|
}
|