mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-24 06:30:19 +00:00
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);
|
||
|
}
|
||
|
|