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