aboutsummaryrefslogtreecommitdiff
path: root/clang/test/CodeGen/label-array-aggregate-init.c
blob: 4039b925f21b7bd1c9ac73a8a13d078a5c795a4a (plain)
1
2
3
4
5
6
7
8
9
10
// RUN: %clang_cc1 -triple x86_64-windows-msvc -emit-llvm %s -o - | FileCheck %s

// CHECK: @constinit = private constant [3 x ptr] [ptr blockaddress(@main, %L), ptr null, ptr null]

void receivePtrs(void **);

int main(void) {
L:
  receivePtrs((void *[]){ &&L, 0, 0 });
}