Skip to content

Linking should fail when a static function is used but not declared #607

@h0nzZik

Description

@h0nzZik

The following programs compiles and links successfully, but gets stuck at runtime:

static void foo();//{}
int main(){foo();}

But it should fail to link.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions