Mercurial > hg > CbC > CbC_gcc
view gcc/testsuite/g++.dg/cpp2a/array-conv16.C @ 152:2b5abeee2509
update gcc11
author | anatofuz |
---|---|
date | Mon, 25 May 2020 07:50:57 +0900 |
parents | 1830386684a0 |
children |
line wrap: on
line source
// PR c++/91364 - P0388R4: Permit conversions to arrays of unknown bound. // { dg-do compile { target c++2a } } using P = int *(*)[3]; using S = const int *const (*)[]; using Q = const int *const (*)[3]; using Qi = const int *[3]; using Q2 = Qi const *; void f (P p, S s, Q q, Q2 q2) { s = p; s = q; s = q2; }