[LLVMbugs] [Bug 11733] static_assert on Unicode string literals seems to get wrong values

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Mon Jan 9 18:02:40 PST 2012


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

Eli Friedman <sharparrow1 at yahoo.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |richard-llvm at metafoo.co.uk,
                   |                            |sharparrow1 at yahoo.com
         Resolution|                            |INVALID

--- Comment #1 from Eli Friedman <sharparrow1 at yahoo.com> 2012-01-09 20:02:40 CST ---
Try:

static_assert(u8"\U0001F306"[0] == (signed char)0xF0, "");

-- 
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