☰
Debian Codegraph
@
3.2.0+ds-4
/
/
framework
/
tests
/
all-systems
/
Issue2195.java
☽
☼
framework/tests/all-systems/Issue2195.java
code
plain
raw
GPL-2.0-with-classpath-exception
2004-2020 Checker Framework developers; 2004-2020 Michael Ernst <
[email protected]
>; 2004-2020 Werner M. Dietl <
[email protected]
>; 2004-2020 Suzanne Millstein <
[email protected]
>
debian/copyright
1
// Test case for Issue 2195.
2
@SuppressWarnings("unchecked")
3
class Issue2195 {
4
interface A {}
5
6
interface B {}
7
8
class C<T extends B & A> {
9
C(T t) {}
10
}
11
12
class X {
13
X(B b) {
14
new C(b);
15
}
16
}
17
}