llvm-project/clang/test/CodeGen/label-array-aggregate-init.c

11 lines
291 B
C

// RUN: %clang_cc1 -no-opaque-pointers -triple x86_64-windows-msvc -emit-llvm %s -o - | FileCheck %s
// CHECK: @constinit = private global [3 x i8*] [i8* blockaddress(@main, %L), i8* null, i8* null]
void receivePtrs(void **);
int main(void) {
L:
receivePtrs((void *[]){ &&L, 0, 0 });
}