Skip to content

gccgo: allows multiple declarations of a function #11573

Closed
@dvyukov

Description

gcc successfully compiles the following program:

package a
func n()
func n()

Both gc and go/types reject it. Compilers need to agree.

gcc version 6.0.0 2015070 (experimental) (GCC)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions