mirror of
git://gcc.gnu.org/git/gcc.git
synced 2024-12-27 14:29:42 +08:00
13ffcdbbf6
From-SVN: r34072
25 lines
274 B
Java
25 lines
274 B
Java
// PR234.java
|
|
public class PR234 extends B implements I
|
|
{
|
|
public static void main(String args[])
|
|
{
|
|
PR234 x = new PR234();
|
|
x.m();
|
|
}
|
|
}
|
|
|
|
// B.java
|
|
class B
|
|
{
|
|
public void m()
|
|
{
|
|
System.out.println ("yes");
|
|
}
|
|
}
|
|
|
|
// I.java
|
|
interface I
|
|
{
|
|
public void m();
|
|
}
|