llvm-for-llvmta/tools/clang/test/CodeGen/label-array-aggregate-init.c
Nils Hölscher 7f403f4f1e added clang
2022-04-25 13:02:35 +02:00

11 lines
268 B
C

// RUN: %clang -cc1 -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() {
L:
receivePtrs((void *[]){ &&L, 0, 0 });
}