On 04/30/13, Jakub Jelinek<ja...@redhat.com> wrote: On Tue, Apr 30, 2013 at 11:23:49AM -0400, Jason Merrill wrote: > I've updated the webpage.
Perhaps it would be nice if we had some testsuite coverage for it too, right now unless I'm blind there are exactly 2 testcases, using one 0b... number in each in g++.dg/. At least port gcc.dg/binary-constants-*.c to C++ (or move to c-c++-common/) and perhaps have something where the numbers are used in some C++ only contexts (templates, constexprs, whatever). Jakub I've been meaning to throw together a user-defined literal test for octal and hex. I'll add binary literals too. I've used literals on octal and hex numbers and I know they work but it would be nice to have in the testsuite. Usage of literal operators on octal, hex, and now binary literals are explicitly called out in the standard (somewhere). Ed