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

Richard Smith <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |[email protected]
         Resolution|---                         |INVALID

--- Comment #3 from Richard Smith <[email protected]> ---
This is working as intended. The code is ill-formed because it gives an integer
literal that doesn't fit in any signed integer type, and as a conforming
extension we give it an unsigned type instead.

Sorry, but this is how C and C++ work; the - is not part of the literal.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs

Reply via email to