brintos

brintos / llvm-project-archived public Read only

0
0
Text · 226 B · e1085f4 Raw
11 lines · c
1// RUN: %clang_cc1 %s -emit-llvm -std=c89 -o - | FileCheck %s2 3struct X { int *XX; int Y;};4 5void foo(void) {6  // CHECK: @foo.nate = internal global i32 07  static int nate = 0;8  struct X bob = { &nate, 14 };9  bar(&bob);10}11