Skip to content

clang crashes when an enum forward declaration is used in cast #8461

Closed
@llvmbot

Description

@llvmbot
Bugzilla Link 8089
Resolution FIXED
Resolved on Sep 11, 2010 22:41
Version trunk
OS Windows NT
Reporter LLVM Bugzilla Contributor
CC @DougGregor

Extended Description

test.cpp:
enum E;
int a = (E)3;

clang -cc1 -fsyntax-only test.cpp

stack dump.

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