Added diagnostic error when in function declaration name was omitted
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
// !DIAGNOSTICS: -REDECLARATION
|
||||
|
||||
class C {
|
||||
fun<!SYNTAX!><!> () {
|
||||
<!FUNCTION_DECLARATION_WITH_NO_NAME!>fun ()<!> {
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user