Skip to content

clang c++0x accepts-invalid with rvalue references #9918

@efriedma-quic

Description

@efriedma-quic
Bugzilla Link 9546
Resolution FIXED
Resolved on Apr 29, 2012 03:24
Version unspecified
OS Linux
CC @DougGregor,@tkremenek,@zygoloid

Extended Description

Testcase:
int x = reinterpret_cast<const int&&>(1.0f);

Consensus on IRC is that this is invalid.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugzillaIssues migrated from bugzillac++11

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions