mirror of
git://gcc.gnu.org/git/gcc.git
synced 2024-12-27 08:59:10 +08:00
21 lines
197 B
Java
21 lines
197 B
Java
|
interface I
|
||
|
{
|
||
|
void m();
|
||
|
}
|
||
|
abstract class C implements I {}
|
||
|
class Foo
|
||
|
{
|
||
|
void Bar(C c)
|
||
|
{
|
||
|
c.m();
|
||
|
}
|
||
|
void blah(C c)
|
||
|
{
|
||
|
c.m();
|
||
|
}
|
||
|
|
||
|
public static void main (String[] args)
|
||
|
{
|
||
|
}
|
||
|
}
|