https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97296

            Bug ID: 97296
           Summary: g++ accepts-invalid after DR2352 fix
           Product: gcc
           Version: 11.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: mpolacek at gcc dot gnu.org
  Target Milestone: ---

void f(const int * const &); // #1
void f(const int *); // #2
int *x;
int main()
{
  f(x);
}

has been accepted since r276058, but should be ambiguous.  The follow-up fix to
DR2352 (r276251) didn't make a difference for this test.

Reply via email to