aboutsummaryrefslogtreecommitdiffstats
path: root/tests/bugs189/486612/Code.java
blob: 089d9324412c90ec242c6f76b2ddaa65429b6eb4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
import java.io.*;

public class Code {
  public static void main(String []argv) {
  }
}

class B<T extends SomeClass & SomeInterface> extends C<T> implements Serializable {
}

class C<T> {}

class SomeClass {}
interface SomeInterface {}
interface SomeOtherInterface {}

class D<T extends SomeInterface&SomeOtherInterface> {}