blob: d2317d3acc41dbd61adc63edfd6c44be46c3087f [file] [log] [blame]
Eric Christopher3883e662011-07-26 22:17:02 +00001// RUN: %clang_cc1 %s -emit-llvm -o - | FileCheck %s
2
3struct X { int *XX; int Y;};
4
5void foo() {
6 // CHECK: @foo.nate = internal global i32 0
7 static int nate = 0;
8 struct X bob = { &nate, 14 };
9 bar(&bob);
10}