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