1 // RUN: %clang_cc1 %s -triple %itanium_abi_triple -std=c++20 -emit-llvm -O2 -o - | FileCheck %s
3 // p0388 conversions to unbounded array
9 // CHECK-LABEL: @_ZN3One5frob1Ev
11 // CHECK-NEXT: ret ptr @_ZN3One2gaE
18 // CHECK-LABEL: @_ZN3One5frob2ERA1_i
20 // CHECK-NEXT: ret ptr %arp
21 auto &frob2(int (&arp
)[1]) {
27 // CHECK-LABEL: @_ZN3One3fooEi
29 // CHECK-NEXT: ret void
31 auto f
= [](int(&&)[]) {};