mirror of
https://github.com/RPCS3/llvm.git
synced 2024-12-14 15:39:06 +00:00
4d94517796
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26511 91177308-0d34-0410-b5e6-96231b3b80d8
11 lines
196 B
C
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);
|
|
}
|
|
|