blob: 252d6c8d611d1e4088648546e0c571d79028e77f [file] [log] [blame]
// Copyright (c) 2016, the R8 project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
public class Test {
public boolean b = false;
public Test a = null;
public Test() {
}
public Test(int i, Test a) {
throw new RuntimeException("Test(ILTest;)");
}
public int nextIndex() {
throw new RuntimeException("nextIndex()");
}
public int previousIndex() {
throw new RuntimeException("previousIndex()");
}
public boolean hasNext() {
throw new RuntimeException("hasNext()");
}
public boolean hasPrevious() {
throw new RuntimeException("hasPrevious()");
}
public static void main(String[] args) {
try {
new TestObject().a(new Test(), new Test());
} catch (Exception e) {
System.out.println(e);
}
}
}