repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
testsuite: update mangling
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
cpp2a
/
array-conv16.C
blob
1413971aaa22a962ab793533b4dd2036823035f5
1
// PR c++/91364 - P0388R4: Permit conversions to arrays of unknown bound.
2
// { dg-do compile { target c++20 } }
3
4
using P = int *(*)[3];
5
using S = const int *const (*)[];
6
using Q = const int *const (*)[3];
7
using Qi = const int *[3];
8
using Q2 = Qi const *;
9
10
void
11
f (P p, S s, Q q, Q2 q2)
12
{
13
s = p;
14
s = q;
15
s = q2;
16
}