changeset 8635 | 383a416a2bdf |
parent 8634 | 222829aedfe4 |
child 8636 | baa2c3dffe9b |
8634:222829aedfe4 | 8635:383a416a2bdf |
---|---|
1 /* |
|
2 * @test /nodynamiccopyright/ |
|
3 * @bug 7020043 |
|
4 * |
|
5 * @summary Project Coin: diamond allowed on non-generic type |
|
6 * @author Rémi Forax |
|
7 * @compile/fail/ref=Neg12.out Neg12.java -XDrawDiagnostics |
|
8 * |
|
9 */ |
|
10 |
|
11 class DiamondRaw { |
|
12 public static void main(String[] args) { |
|
13 String s = new String<>("foo"); |
|
14 } |
|
15 } |