mirror of
git://gcc.gnu.org/git/gcc.git
synced 2024-12-20 06:48:53 +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)
|
||
|
{
|
||
|
}
|
||
|
}
|