blob: f0e6bd786259e69da111bb5d502f5260e771d67e (
plain)
1
2
3
4
5
6
7
8
9
10
|
// 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);
}
|