Files
llvm-project/clang/test/CodeGen/static-order.c
Daniel Dunbar a45cf5b6b0 Rename clang to clang-cc.
Tests and drivers updated, still need to shuffle dirs.

llvm-svn: 67602
2009-03-24 02:24:46 +00:00

20 lines
201 B
C

// RUN: clang-cc -emit-llvm -o - %s | not grep "zeroinitializer"
struct s {
int a;
};
static void *v;
static struct s a;
static struct s a = {
10
};
void *f()
{
if (a.a)
return v;
}