Skip to content

Linking should fail when main is defined both in C and C++. #609

@h0nzZik

Description

@h0nzZik

This program should not link:

// a.c
int main(){return 0;}
// b.C
int main(){return 1;}

But with kcc -fno-native-compilation it builds and executes some main.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions