[LLVMbugs] [Bug 9546] New: clang c++0x accepts-invalid with rvalue references

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Thu Mar 24 17:40:35 PDT 2011


http://llvm.org/bugs/show_bug.cgi?id=9546

           Summary: clang c++0x accepts-invalid with rvalue references
           Product: clang
           Version: unspecified
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: C++0x
        AssignedTo: unassignedclangbugs at nondot.org
        ReportedBy: sharparrow1 at yahoo.com
                CC: llvmbugs at cs.uiuc.edu, dgregor at apple.com


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

Consensus on IRC is that this is invalid.

-- 
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.



More information about the llvm-bugs mailing list