mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 23:04:50 +02:00
14 lines
250 B
Java
14 lines
250 B
Java
/*
|
|
* @test /nodynamiccopyright/
|
|
* @bug 4394546
|
|
* @summary get no err msg if label wrapped in parentheses
|
|
* @author gafter
|
|
*
|
|
* @compile/fail/ref=Parens3.out -XDrawDiagnostics Parens3.java
|
|
*/
|
|
|
|
class Parens3 {
|
|
void f() {
|
|
(foo): ;
|
|
}
|
|
}
|