repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
* c-c++-common/ubsan/float-cast-overflow-6.c: Add i?86-*-* target.
[official-gcc.git]
/
libjava
/
testsuite
/
libjava.lang
/
Final.java
blob
1b22096c3594a4ec97f498c48f2a3504eca72b60
1
public final class
Final
2
{
3
public static void
main
(
String args
[])
4
{
5
Final f
=
null
;
6
try
7
{
8
f
.
doSomething
();
9
}
10
catch
(
NullPointerException x
)
11
{
12
System
.
out
.
println
(
"NullPointerException - ok"
);
13
}
14
}
15
16
void
doSomething
()
17
{
18
System
.
out
.
println
(
"This should not happen"
);
19
}
20
}