Merge branch 'master' into msp430
[llvm/msp430.git] / test / FrontendC / 2006-03-03-MissingInitializer.c
blob0d09d297d191e45a36294c7bb31886cc71906faf
1 // RUN: %llvmgcc %s -S -o - | llvm-as | opt -std-compile-opts | \
2 // RUN: llvm-dis | grep {@nate.*internal global i32 0}
4 struct X { int *XX; int Y;};
6 void foo() {
7 static int nate = 0;
8 struct X bob = { &nate, 14 };
9 bar(&bob);