aboutsummaryrefslogblamecommitdiff
path: root/tests/invalid/pos/t6169/ExistF.java
blob: 70fabd74cf900ecdc940fd1e94f087bbad36a8f7 (plain) (tree)
1
2
3
4



                                                                            
public class ExistF<T extends ExistF<T>> {
  // java helpfully re-interprets ExistF<?> as ExistF<?0 extends ExistF<?0>>
  public ExistF<?> foo() { throw new RuntimeException(); }
}