1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-22 04:22:57 +02:00
llvm-mirror/test/Regression/CFrontend/2006-03-03-MissingInitializer.c
2006-03-04 00:47:12 +00:00

11 lines
196 B
C

// RUN: %llvmgcc %s -S -o - | gccas | llvm-dis | grep nate | grep 'global int 0'
struct X { int *XX; int Y;};
void foo() {
static int nate = 0;
struct X bob = { &nate, 14 };
bar(&bob);
}