xref: /llvm-project/clang/test/CodeGen/label-array-aggregate-init.c (revision 4a2757d80f0af48e65d90e7eaf268f78bcfa997f)
1 // RUN: %clang_cc1 -triple x86_64-windows-msvc -emit-llvm %s -o - | FileCheck %s
2 
3 // CHECK: @constinit = private constant [3 x ptr] [ptr blockaddress(@main, %L), ptr null, ptr null]
4 
5 void receivePtrs(void **);
6 
main(void)7 int main(void) {
8 L:
9   receivePtrs((void *[]){ &&L, 0, 0 });
10 }
11