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

            Bug ID: 69531
           Summary: Implement CWG 1307; Differently bounded array
                    parameters
           Product: gcc
           Version: 6.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: colu...@gmx-topmail.de
  Target Milestone: ---

int main() {
  int f(int(&&)[1]);
  int f(int(&&)[2]);
  f({1});
}

The list initialization sequence specified by [over.ics.list]/5 for the first
overload is better as per [over.ics.rank]/(3.1.2).

Reply via email to