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
2001-08-28 Alexandre Petit-Bianco <apbianco@redhat.com>
[official-gcc.git]
/
libjava
/
testsuite
/
libjava.compile
/
iface.java
blob
6a57fcf4bf7c6681b11957e6b73e5c7076722a8c
1
// Test for searching through interface extension.
2
3
interface
basei
4
{
5
public int
method
();
6
}
7
8
interface
basei2
9
{
10
public int
confuse
();
11
}
12
13
interface
derivedi
extends
basei
,
basei2
14
{
15
public void
nothing
();
16
}
17
18
public class
iface
19
{
20
public int
try_it
(
derivedi x
)
21
{
22
return
x
.
method
();
23
}
24
}