mirror of
https://github.com/darlinghq/darling-openjdk.git
synced 2025-04-16 10:40:06 +00:00
15 lines
250 B
Java
15 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): ;
|
|
}
|
|
}
|