(root)/
gcc-13.2.0/
gcc/
testsuite/
g++.dg/
cpp2a/
array-conv14.C
// PR c++/91364 - Implement P0388R4: Permit conversions to arrays of unknown bound.
// { dg-do compile { target c++20 } }

void f(const int(*)[]);
void fb(const int(*)[3]);
void f2(const int(&)[]);
void fb2(const int(&)[3]);

void
g ()
{
  int arr[3];
  f(&arr);
  fb(&arr);
  f2(arr);
  fb2(arr);
}