aboutsummaryrefslogtreecommitdiffstats
path: root/tests/bugs160/pr214559/DeclareParentsPrecedenceTest.java
blob: fdf77f02cf48ea42ee236420c6732553295d02c6 (plain)
1
2
3
4
5
6
7
8
public class DeclareParentsPrecedenceTest {
  public static void main(String[]argv) {
    TestClass t = new TestClass();
    if (!(t instanceof Interface1)) throw new RuntimeException("t not instanceof Interface1");
    if (!(t instanceof Interface1TestClass)) throw new RuntimeException("t not instanceof Interface1TestClass");
  }
}