aboutsummaryrefslogtreecommitdiffstats
path: root/tests/errors/InterfaceCast.java
blob: 769730496050867ae2c0dd6242d0a39102509408 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
/*
  73   addDirectSuperType(getSuperClassDec());
  74   for (Iterator i = getSuperInterfaceDecs().iterator(); i.hasNext(); ) {
  75   InterfaceDec superInterface = (InterfaceDec)i.next();
  76   addDirectSuperType(superInterface);
  77 }
*/

public class InterfaceCast {
  public static void main(String[] args) {

  }
}
class A implements B {}
class B {}