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
* sreal.h (sreal::shift): Fix sanity check.
[official-gcc.git]
/
libjava
/
testsuite
/
libjava.lang
/
verify.java
blob
71b4b5c43a7accc751f1d18fae9f4343c91f6dc9
1
// Test for a verification regression.
2
3
interface
I
{ }
4
class
D
implements
I
{ }
5
class
E
extends
D
{ }
6
7
public class
verify
8
{
9
static void
call
(
I v
) { }
10
11
static void
doit
(
Object x
)
12
{
13
call
((
x
instanceof
I
)
?
(
I
)
x
:
new
E
());
14
}
15
16
public static void
main
(
String
[]
args
)
17
{
18
doit
(
null
);
19
}
20
}