llvm-for-llvmta/tools/clang/test/CodeGen/label-array-aggregate-init.c

11 lines
268 B
C
Raw Normal View History

2022-04-25 13:02:35 +02:00
// 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 });
}