summaryrefslogtreecommitdiffstats
path: root/clang/test/CodeGen/label-array-aggregate-init.c
blob: 5cefd8d270c084c784480e52d27a2f46539b7904 (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 global [3 x i8*] [i8* blockaddress(@main, %L), i8* null, i8* null]

void receivePtrs(void **);

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