java highlighting tests moved to community

This commit is contained in:
Alexey Kudravtsev
2010-06-25 12:46:38 +04:00
parent 7ec040c1ec
commit 735a9d17a8
243 changed files with 22082 additions and 0 deletions
@@ -0,0 +1,17 @@
class Price {
public <PT extends Price> PT clone() {
return null;
}
}
class BondPrice extends Price {
public <PT extends BondPrice> PT clone() {
return null;
}
}
class User {
public static void main(String[] args) {
new BondPrice().clone<error descr="Ambiguous method call: both 'BondPrice.clone()' and 'Price.clone()' match">()</error>;
}
}