10000 check global scope at function declaration · Issue #311 · tychy/hooligan · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
check global scope at function declaration #311
Open
@tychy

Description

@tychy

replated to #310
As nested function does not exist in C, maybe we should check that is's global scope.

int hoge()
{
int foo() { return 2; }
return foo();
}

int main()
{
return foo();
}
gcc does not support this, but hooligan does.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0