http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50976

             Bug #: 50976
           Summary: [C++0x] literal operator with unsigned long long
                    parameter not accepted
    Classification: Unclassified
           Product: gcc
           Version: 4.7.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
        AssignedTo: unassig...@gcc.gnu.org
        ReportedBy: daniel.krueg...@googlemail.com
                CC: 3dw...@verizon.net


gcc 4.7.0 20111029 (experimental) in C++0x mode rejects the following code:

//---
int operator "" _abc(unsigned long long int);
//---

with the message:

"error: 'int operator"" _abc(long long unsigned int)' has invalid argument
list"

but according to 13.5.8 p3 this should be a valid parameter-declaration-clause
and the code should be accepted.

Reply via email to