Skip to content

"Global is marked as dllimport, but not external" #13822

Closed
@tritao

Description

@tritao
mannequin
Bugzilla Link 13450
Resolution FIXED
Resolved on Jun 03, 2014 19:32
Version trunk
OS Windows NT
Blocks llvm/llvm-bugzilla-archive#13707
CC @AaronBallman,@asl,@compnerd,@DougGregor,@rnk

Extended Description

compiling the following code:

extern __declspec(dllimport) void(*test)();
void(*test)();

int main()
{
}

produces:

Global is marked as dllimport, but not external
void ()** @​test
Broken module found, compilation aborted!
clang: error: clang frontend command failed with exit code 3 (use -v to see invocation)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugzillaIssues migrated from bugzillac++

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions